We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c221612 commit d012043Copy full SHA for d012043
.github/workflows/build.yml
@@ -10,6 +10,9 @@ env:
10
REGISTRY: ghcr.io
11
IMAGE_NAME: ${{ github.repository }}
12
13
+permissions:
14
+ id-token: write # for OIDC-based publishing to npm
15
+
16
jobs:
17
build-and-push-docker:
18
runs-on: ubuntu-latest
@@ -53,7 +56,9 @@ jobs:
53
56
with:
54
57
node-version: '20.x'
55
58
registry-url: 'https://registry.npmjs.org'
59
+ # for OIDC-based publishing to npm
60
+ - name: setup npm v11
61
+ run: npm install -g npm@11
62
63
- run: npm ci
64
- run: npm publish --provenance --access public
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments