Skip to content

Commit 7765472

Browse files
authored
Merge pull request #191 from storybookjs/kasper/corepack
Upgrade corepack/pnpm
2 parents a515019 + cb8e720 commit 7765472

File tree

3 files changed

+13
-20
lines changed

3 files changed

+13
-20
lines changed

.github/workflows/release.yml

+6-9
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,15 @@ jobs:
1313
- name: Prepare repository
1414
run: git fetch --unshallow --tags
1515

16-
- name: Enable corepack
17-
run: corepack enable
18-
19-
- name: Setup node
16+
- name: Install pnpm
17+
uses: pnpm/action-setup@v4
18+
- name: Use Node.js 22
2019
uses: actions/setup-node@v4
2120
with:
22-
node-version: 18
21+
node-version: 22
2322
cache: 'pnpm'
24-
25-
- uses: pnpm/action-setup@v4
26-
with:
27-
run_install: true
23+
- name: Install dependencies
24+
run: pnpm install
2825

2926
- name: Create Release
3027
env:

.github/workflows/test.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,15 @@ jobs:
88
steps:
99
- name: Checkout codes
1010
uses: actions/checkout@v4
11-
12-
- name: Enable corepack
13-
run: corepack enable
14-
15-
- name: Setup node
11+
- name: Install pnpm
12+
uses: pnpm/action-setup@v4
13+
- name: Use Node.js 22
1614
uses: actions/setup-node@v4
1715
with:
18-
node-version: 18
16+
node-version: 22
1917
cache: 'pnpm'
20-
21-
- uses: pnpm/action-setup@v4
22-
with:
23-
run_install: true
18+
- name: Install dependencies
19+
run: pnpm install
2420

2521
- name: Build
2622
run: pnpm run build

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,5 @@
100100
"released"
101101
]
102102
},
103-
"packageManager": "pnpm@9.1.1"
103+
"packageManager": "pnpm@10.4.0+sha512.6b849d0787d97f8f4e1f03a9b8ff8f038e79e153d6f11ae539ae7c435ff9e796df6a862c991502695c7f9e8fac8aeafc1ac5a8dab47e36148d183832d886dd52"
104104
}

0 commit comments

Comments
 (0)