Skip to content

Commit

Permalink
chore: Add NPM_TOKEN: config
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Jul 24, 2024
1 parent b4a0a09 commit 4bfc09a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- name: Publish to NPM
run: nu nu/npm.nu each --sync
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

publish-npm-base:
Expand Down Expand Up @@ -61,6 +62,7 @@ jobs:
shell: nu {0}
run: nu nu/npm.nu base --sync
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

test-npm-pkg:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sync-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
shell: nu {0}
run: nu nu/npm.nu base
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

test-npm-pkg:
Expand Down

0 comments on commit 4bfc09a

Please sign in to comment.