Skip to content

Commit 51daeec

Browse files
committed
ci: force install latest npm version
1 parent 214554a commit 51daeec

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ jobs:
2727
- run: corepack enable
2828
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2929
with:
30-
node-version: current
31-
registry-url: "https://registry.npmjs.org/"
32-
cache: pnpm
30+
node-version: latest
31+
registry-url: 'https://registry.npmjs.org'
32+
33+
- name: Update npm for trusted publishing
34+
run: npm install -g npm@latest
3335

3436
- name: 📦 Install dependencies
3537
run: pnpm install
@@ -38,7 +40,7 @@ jobs:
3840
run: pnpm dev:prepare
3941

4042
- name: 📦 Release
41-
run: pnpm publish --access public
43+
run: npm publish
4244

4345
- name: 🏷️ Create tag
4446
run: |

0 commit comments

Comments
 (0)