Skip to content

Commit 714c615

Browse files
committed
Make: Re-attempt forwarding NPM_TOKEN
1 parent 2135a58 commit 714c615

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,13 @@ jobs:
459459
- name: Dry Run Publish to NPM
460460
if: github.ref != 'refs/heads/main'
461461
run: npm publish --dry-run
462+
env:
463+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
462464
- name: Publish to NPM
463465
if: github.ref == 'refs/heads/main'
464-
run: npm publish --access public
466+
run: npm publish --provenance --access public
467+
env:
468+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
465469

466470
publish_rust:
467471
name: Publish Rust Crate

0 commit comments

Comments
 (0)