Skip to content

Commit

Permalink
ci: set auth token through env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Oct 15, 2022
1 parent eb8bc4b commit 51e5a87
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Expand Up @@ -35,10 +35,8 @@ jobs:
run: pnpm install
- name: Publish Packages
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
pnpm config set "//registry.npmjs.org/:_authToken" "${NPM_TOKEN}"
pnpm release
"npm_config_//registry.npmjs.org/:_authToken": ${{ secrets.NPM_TOKEN }}
run: pnpm release
- name: Copy Artifacts
run: pnpm run copy-artifacts
- name: Generate release description
Expand Down

0 comments on commit 51e5a87

Please sign in to comment.