Skip to content

Commit

Permalink
ci: add npm token secret
Browse files Browse the repository at this point in the history
  • Loading branch information
sannajammeh committed May 2, 2023
1 parent ea806e8 commit b45a019
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
- name: Install dependencies
run: pnpm install --filter {packages/**}... --filter .

- name: Config npm token
run: echo "\n//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: create and publish versions
uses: changesets/action@v1
with:
Expand Down

0 comments on commit b45a019

Please sign in to comment.