Skip to content

Commit 21daf17

Browse files
authored
Update node.js.yml
1 parent 14dcd78 commit 21daf17

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ jobs:
1313
build:
1414

1515
runs-on: ubuntu-latest
16-
16+
permissions:
17+
contents: read
18+
packages: write
1719
strategy:
1820
matrix:
1921
node-version: [20.x]
@@ -42,4 +44,4 @@ jobs:
4244
registry-url: 'https://npm.pkg.github.com'
4345
- run: npm publish
4446
env:
45-
NODE_AUTH_TOKEN: ${{ secrets.GT_TOKEN }}
47+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)