Skip to content

Commit 03d4eb3

Browse files
committed
Add NODE_AUTH_TOKEN environment variable for publishing steps
1 parent f83e5f3 commit 03d4eb3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,11 @@ jobs:
7979
- name: Publish release
8080
if: github.event_name == 'release'
8181
run: pnpm publish --provenance --access public --no-git-checks
82+
env:
83+
NODE_AUTH_TOKEN: ${{secrets.NODETOKEN}}
8284

8385
- name: Publish dev
8486
if: github.event_name == 'push' && steps.changes.outputs.changed == 'true'
8587
run: pnpm publish --provenance --access public --no-git-checks --tag dev
88+
env:
89+
NODE_AUTH_TOKEN: ${{secrets.NODETOKEN}}

0 commit comments

Comments
 (0)