Visitar URL original
Add missing setup step for Changeset (#832) · vercel/serve@838721d · GitHub
Skip to content

Commit 838721d

Browse files
authored
Add missing setup step for Changeset (#832)
1 parent e0d526a commit 838721d

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/release-snapshot.yaml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
node-version: 22
2323
registry-url: 'https://registry.npmjs.org/'
2424
cache: 'pnpm'
25+
- name: Add npm auth token to pnpm
26+
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN_ELEVATED}"
27+
env:
28+
NPM_TOKEN_ELEVATED: ${{secrets.NPM_TOKEN_ELEVATED}}
2529
- name: Install dependencies
2630
run: pnpm install
2731
- name: Add SHORT_SHA env property with commit short sha

‎.github/workflows/release.yaml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
node-version: 22
2323
registry-url: 'https://registry.npmjs.org/'
2424
cache: 'pnpm'
25+
- name: Add npm auth token to pnpm
26+
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN_ELEVATED}"
27+
env:
28+
NPM_TOKEN_ELEVATED: ${{secrets.NPM_TOKEN_ELEVATED}}
2529
- name: Install dependencies
2630
run: pnpm install
2731
- name: Compile

0 commit comments

Comments
 (0)