Skip to content

Commit ed5452c

Browse files
committed
Fix NPM release workflow
1 parent eba1c5a commit ed5452c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
#release:
55
# types: [published]
66
workflow_dispatch:
7+
8+
permissions: {}
9+
710
jobs:
811
publish:
912
runs-on: ubuntu-latest
@@ -12,13 +15,13 @@ jobs:
1215
contents: read
1316
steps:
1417
- uses: actions/checkout@v4
18+
with:
19+
persist-credentials: false
1520
- uses: actions/setup-node@v4
1621
with:
17-
node-version: '22.x'
22+
node-version: '24.x'
1823
registry-url: 'https://registry.npmjs.org'
1924
cache: 'yarn'
2025
- run: yarn install --frozen-lockfile
2126
- run: yarn test
2227
- run: npm publish --access public --provenance
23-
env:
24-
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

0 commit comments

Comments
 (0)