Skip to content

Commit 0b4829f

Browse files
committed
upgrade pkg managers, node, add id-token to release workflow
1 parent 64fa98c commit 0b4829f

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ env:
66
CI: true
77
COREPACK_INTEGRITY_KEYS: 0
88

9+
permissions:
10+
id-token: write
11+
contents: write
12+
pull-requests: write
13+
914
jobs:
1015
release:
1116
runs-on: ubuntu-latest
@@ -15,7 +20,7 @@ jobs:
1520
with:
1621
fetch-depth: 0
1722

18-
- name: 'Set git user'
23+
- name: "Set git user"
1924
run: |
2025
git config --global user.name 'storybook-bot'
2126
git config --global user.email '[email protected]'
@@ -27,8 +32,8 @@ jobs:
2732
- name: Use Node.js
2833
uses: actions/setup-node@v4
2934
with:
30-
cache: 'pnpm'
31-
node-version-file: '.nvmrc'
35+
cache: "pnpm"
36+
node-version-file: ".nvmrc"
3237

3338
- name: Install Node.js dependencies with pnpm
3439
# https://pnpm.io/cli/install

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.9.0
1+
24

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"svelte": "^5.0.0",
108108
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
109109
},
110-
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee",
110+
"packageManager": "pnpm@10.18.0+sha512.e804f889f1cecc40d572db084eec3e4881739f8dec69c0ff10d2d1beff9a4e309383ba27b5b750059d7f4c149535b6cd0d2cb1ed3aeb739239a4284a68f40cfa",
111111
"publishConfig": {
112112
"access": "public"
113113
},

0 commit comments

Comments
 (0)