Skip to content

Commit 2e91f9b

Browse files
committed
Restore NODE_AUTH_TOKEN for npm publish auth
actions/setup-node with registry-url creates .npmrc expecting NODE_AUTH_TOKEN. Without it, npm returns E404 on scoped packages.
1 parent 981325b commit 2e91f9b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
- run: npm test
4747
- run: npx vue-tsc --noEmit
4848
- run: npm publish --provenance
49+
env:
50+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4951

5052
github-release:
5153
needs: publish

0 commit comments

Comments
 (0)