Skip to content

Commit 0c25e87

Browse files
committed
chore(release): setup authToken before running publish
1 parent 2ad7ebe commit 0c25e87

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ jobs:
2929
- name: prepack
3030
run: pnpm run --filter ember-simple-auth prepack
3131

32+
- name: Set publishing config
33+
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
34+
env:
35+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
36+
3237
- name: publish to npm
3338
run: pnpm run --filter ember-simple-auth publish
34-
env:
35-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)