Skip to content

Commit 0664095

Browse files
fix: ensure NODE_AUTH_TOKEN is set for npm publish step in publish.yml
1 parent 15eb1f4 commit 0664095

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
- run: npm run build
2525
- run: npm publish --provenance --access public
2626
if: github.event_name == 'release'
27+
env:
28+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2729

2830
publish-github:
2931
name: Publish to GitHub Packages

0 commit comments

Comments
 (0)