Skip to content

Commit

Permalink
fix(github/release-pipeline): Set npm registry explicitly
Browse files Browse the repository at this point in the history
Hopefully this allows pnpm publish (aka npm publish) to properly use the npm token in AUTH_NODE_TOKEN without any additional setup.
see npm/cli#1637
see pnpm/pnpm#4937
  • Loading branch information
fussel178 committed Dec 17, 2024
1 parent 4d2a857 commit 26eb1b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ jobs:
node-version: ${{ env.node }}
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies 📚
run: pnpm install
- name: Build 🏗️
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ jobs:
node-version: ${{ env.node }}
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies 📚
run: pnpm install
- name: Build 🏗️
Expand Down

0 comments on commit 26eb1b6

Please sign in to comment.