Skip to content

Commit a2cfcb9

Browse files
committed
fix: add corepack install step to make pnpm available
1 parent fbd1347 commit a2cfcb9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
node-version: ${{ env.NODE_VERSION }}
2020
cache: pnpm
21-
- run: corepack enable && pnpm install --frozen-lockfile
21+
- run: corepack enable && corepack install && pnpm install --frozen-lockfile
2222
- run: pnpm run typecheck
2323

2424
test:
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
node-version: ${{ env.NODE_VERSION }}
3131
cache: pnpm
32-
- run: corepack enable && pnpm install --frozen-lockfile
32+
- run: corepack enable && corepack install && pnpm install --frozen-lockfile
3333
- run: pnpm run test:ci
3434

3535
benchmark:
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
node-version: ${{ env.NODE_VERSION }}
4343
cache: pnpm
44-
- run: corepack enable && pnpm install --frozen-lockfile
44+
- run: corepack enable && corepack install && pnpm install --frozen-lockfile
4545
- run: pnpm exec tsx bench/engine-bench.mts
4646
name: Engine Performance Benchmark (regression detection)
4747

@@ -54,5 +54,5 @@ jobs:
5454
with:
5555
node-version: ${{ env.NODE_VERSION }}
5656
cache: pnpm
57-
- run: corepack enable && pnpm install --frozen-lockfile
57+
- run: corepack enable && corepack install && pnpm install --frozen-lockfile
5858
- run: pnpm run build

0 commit comments

Comments
 (0)