Skip to content

Commit 6a4e920

Browse files
committed
fix: add NPM_TOKEN fallback for npm publish
1 parent b402d7c commit 6a4e920

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ jobs:
7676

7777
- name: Publish to npm
7878
run: npm publish --access public --provenance
79+
env:
80+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7981

8082
- name: Create Release
8183
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)