Skip to content

Commit

Permalink
ci: add NPM_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
brynblack committed Jul 4, 2024
1 parent 9d4e622 commit 67ce676
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run deployment
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ./.npmrc
echo 'Publishing library prerelease'
Expand All @@ -126,6 +128,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Publish release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ./.npmrc
echo 'Publishing library'
Expand Down

0 comments on commit 67ce676

Please sign in to comment.