Skip to content

Commit cac6ec6

Browse files
authored
Move set token to publish (#73)
1 parent 95d7281 commit cac6ec6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,13 @@ jobs:
3535
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
3636
restore-keys: |
3737
${{ runner.os }}-pnpm-store-
38-
- name: Set deployment token
39-
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
4038
- name: Publish
4139
run: |
4240
pnpm install --no-frozen-lockfile
4341
git config --global user.name 'Tanner Linsley'
4442
git config --global user.email '[email protected]'
45-
pnpm cipublish
43+
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
44+
pnpm run cipublish
4645
env:
4746
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
4847
GH_TOKEN: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)