Skip to content

Commit 46a4193

Browse files
committed
fix: install pnpm before node
1 parent 5aaa765 commit 46a4193

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15-
- uses: actions/setup-node@v4
16-
with:
17-
node-version: 22
18-
cache: 'pnpm'
19-
2015
- uses: pnpm/action-setup@v4
2116
with:
2217
version: 10.14.0
2318
run_install: false
2419

20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version: 22
23+
cache: 'pnpm'
24+
2525
- run: pnpm install --frozen-lockfile
2626
- run: pnpm run lint
2727
- run: pnpm run typecheck

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
environment: npm-publish
1414

1515
steps:
16-
# ───── 基础环境 ─────
1716
- uses: actions/checkout@v4
1817

1918
- uses: actions/setup-node@v4

0 commit comments

Comments
 (0)