Skip to content

Commit 0aee894

Browse files
committed
Test again
1 parent 15dc030 commit 0aee894

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,18 @@ jobs:
1919
- run: npm test
2020

2121
publish-npm:
22-
needs: build
2322
runs-on: ubuntu-latest
23+
needs: build
2424
permissions:
25-
id-token: write # Required for OIDC
2625
contents: read
26+
id-token: write
2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@v5
2929
- uses: actions/setup-node@v4
3030
with:
3131
node-version: 20
32-
registry-url: https://registry.npmjs.org/
32+
registry-url: 'https://registry.npmjs.org'
3333
- run: npm ci
34-
- run: npm run build
35-
- run: npm publish
34+
- run: npm publish --provenance --access public
3635
env:
37-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
36+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)