Skip to content

Commit

Permalink
Move set token to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
rkulinski committed Nov 23, 2023
1 parent 74f1547 commit 97ee3dc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,13 @@ jobs:
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Set deployment token
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
- name: Publish
run: |
pnpm install --no-frozen-lockfile
git config --global user.name 'Tanner Linsley'
git config --global user.email '[email protected]'
pnpm cipublish
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
pnpm run cipublish
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down

0 comments on commit 97ee3dc

Please sign in to comment.