Skip to content

Commit

Permalink
chore(release): setup authToken before running publish
Browse files Browse the repository at this point in the history
  • Loading branch information
BobrImperator committed Aug 18, 2023
1 parent 2ad7ebe commit 0c25e87
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ jobs:
- name: prepack
run: pnpm run --filter ember-simple-auth prepack

- name: Set publishing config
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- name: publish to npm
run: pnpm run --filter ember-simple-auth publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 0c25e87

Please sign in to comment.