Skip to content

Commit 156c6fb

Browse files
committed
chore: update GitHub Action to publish to npm
1 parent 19e9e02 commit 156c6fb

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ on:
33
push:
44
tags:
55
- "v*"
6+
7+
permissions:
8+
id-token: write
9+
contents: read
10+
611
jobs:
712
build:
813
runs-on: ubuntu-latest
9-
permissions:
10-
contents: read
11-
id-token: write
1214
steps:
1315
- uses: actions/checkout@v4
1416
- uses: actions/setup-node@v4
1517
with:
16-
node-version: '20.x'
18+
node-version: '24'
1719
registry-url: 'https://registry.npmjs.org'
18-
- run: npm publish --provenance --access public
19-
env:
20-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
20+
- run: npm publish --provenance

0 commit comments

Comments
 (0)