Skip to content

Commit

Permalink
Add pnpm auth token to release-snapshot workflow (vercel#1391)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaspar09 authored Apr 19, 2024
1 parent 9b74188 commit b16a2b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ jobs:
with:
node-version: 18.x

- name: Add npm auth token to pnpm
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN_ELEVATED}"
env:
NPM_TOKEN_ELEVATED: ${{secrets.NPM_TOKEN_ELEVATED}}

- name: Install Dependencies
run: pnpm i

Expand Down

0 comments on commit b16a2b2

Please sign in to comment.