Skip to content

Commit 32f82a2

Browse files
authored
fix npm publish action (#337)
* fix npm publish action * update node version for action
1 parent 7a5e9ac commit 32f82a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ jobs:
99
runs-on: ubuntu-latest
1010
permissions:
1111
contents: read
12+
packages: write
13+
id-token: write
1214
steps:
1315
- uses: actions/checkout@v4
1416
- uses: actions/setup-node@v4
1517
with:
16-
node-version: 18
18+
node-version: 22
1719
registry-url: https://registry.npmjs.org/
1820
- run: npm install -g pnpm
1921
- run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)