There was an error while loading. Please reload this page.
1 parent 15dc030 commit 0aee894Copy full SHA for 0aee894
1 file changed
.github/workflows/publish.yml
@@ -19,19 +19,18 @@ jobs:
19
- run: npm test
20
21
publish-npm:
22
- needs: build
23
runs-on: ubuntu-latest
+ needs: build
24
permissions:
25
- id-token: write # Required for OIDC
26
contents: read
+ id-token: write
27
steps:
28
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
29
- uses: actions/setup-node@v4
30
with:
31
node-version: 20
32
- registry-url: https://registry.npmjs.org/
+ registry-url: 'https://registry.npmjs.org'
33
- run: npm ci
34
- - run: npm run build
35
- - run: npm publish
+ - run: npm publish --provenance --access public
36
env:
37
- NODE_AUTH_TOKEN: ${{secrets.npm_token}}
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments