Commit 9e946989
9e946989eea7Merged
Maxence Lecanu <[email protected]> · 5 months ago · 1 file · ~1 modified
Description
fix(ci): restore registry-url and use pnpm exec for semantic-release
npm trusted publishing requires actions/setup-node with registry-url to configure the .npmrc correctly for the OIDC exchange. Switch from pnpm dlx to pnpm exec to use the pinned local version.
Co-Authored-By: Claude Sonnet 4.6 [email protected]
Details
- Commit
- 9e946989eea7
- Parent
- e909c8165e53
.github/workflows/release.ymlmodifiedView file
@@ -34,6 +34,7 @@
3434
with:3535
node-version: '26'3636
cache: 'pnpm'37+
registry-url: 'https://registry.npmjs.org'3738
3839
- name: Install dependencies3940
run: pnpm install@@ -45,4 +46,4 @@
4546
env:4647
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}4748
NPM_CONFIG_PROVENANCE: 'true'48-
run: pnpm dlx semantic-release49+
run: pnpm exec semantic-release