Skip to content

Commit e4c1242

Browse files
committed
Fix ga pipeline
1 parent 9d5de2b commit e4c1242

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,10 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121

22-
- name: Setup target Node.js to enable Corepack
23-
uses: actions/setup-node@v4
24-
with:
25-
node-version: ${{ matrix.node }}
26-
cache: 'pnpm'
27-
28-
- name: Enable Corepack
29-
run: corepack enable
22+
- name: Install pnpm
23+
uses: pnpm/action-setup@v4
3024

31-
- name: Setup Node.js ${{ matrix.node }} with cache
25+
- name: Setup Node.js
3226
uses: actions/setup-node@v4
3327
with:
3428
node-version: ${{ matrix.node }}

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,14 @@ jobs:
2424
- name: Enable Corepack
2525
run: corepack enable
2626

27-
- name: Setup Node.js LTS
27+
- name: Install pnpm
28+
uses: pnpm/action-setup@v4
29+
30+
- name: Setup Node.js
2831
uses: actions/setup-node@v4
2932
with:
3033
node-version: ${{ matrix.node-version }}
31-
cache: 'pnpm'
34+
cache: pnpm
3235

3336
- name: Install Dependencies
3437
run: pnpm install

0 commit comments

Comments
 (0)