Skip to content

Commit

Permalink
(ci) updates ci publish config
Browse files Browse the repository at this point in the history
  • Loading branch information
NickSettler committed Jul 30, 2022
1 parent cb671ad commit 51cf9ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:
- name: Install dependencies
run: yarn install --freeze-lockfile
- name: Build and publish
run: yarn build & npm publish --access public
run: |
npm config set "//registry.npmjs.org/:_authToken" "${NPM_TOKEN}"
yarn build & npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 51cf9ce

Please sign in to comment.