Skip to content

Commit be5b319

Browse files
authored
fix: ci workflow (#590)
Signed-off-by: Bob Du <i@bobdu.cc>
1 parent 0b2a4af commit be5b319

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,15 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17-
- name: Set node
18-
uses: actions/setup-node@v4
17+
- uses: actions/setup-node@v4
1918
with:
20-
node-version: 22.x
21-
22-
- name: Setup
23-
run: npm i -g @antfu/ni
24-
25-
- name: Install
26-
run: nci
27-
19+
node-version: 22
20+
- uses: pnpm/action-setup@v4
21+
with:
22+
version: 8
23+
- run: pnpm install
2824
- name: Lint
29-
run: nr lint
25+
run: pnpm lint
3026

3127
typecheck:
3228
runs-on: ubuntu-latest
@@ -38,5 +34,6 @@ jobs:
3834
- uses: pnpm/action-setup@v4
3935
with:
4036
version: 8
37+
- run: pnpm install
4138
- name: Typecheck
4239
run: pnpm type-check

0 commit comments

Comments
 (0)