Skip to content

Commit 7d43de0

Browse files
committed
Add token
1 parent 12ee6b2 commit 7d43de0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/testing.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919
- uses: actions/setup-node@v4
20+
env:
21+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2022
with:
2123
node-version-file: .node-version
2224
registry-url: https://registry.npmjs.org/
@@ -26,6 +28,7 @@ jobs:
2628
npm version ${TAG_NAME} --git-tag-version=false
2729
env:
2830
TAG_NAME: ${{ github.event.inputs.tag_name }}
31+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2932
- run: npm whoami; npm publish --access public
3033
env:
3134
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)