Skip to content

Commit d8da7bc

Browse files
committed
ci: fix lint
1 parent d242f97 commit d8da7bc

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/lint.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,18 @@ jobs:
1010
lint:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
14+
15+
- run: corepack enable
16+
1417
- name: Set node
15-
uses: actions/setup-node@v3
18+
uses: actions/setup-node@v4
1619
with:
17-
node-version: 16.x
18-
19-
- name: Setup
20-
run: npm i -g @antfu/ni
20+
node-version: lts/*
21+
cache: pnpm
2122

2223
- name: Install
23-
run: nci
24+
run: pnpm i
2425

2526
- name: Lint
26-
run: nr lint --max-warnings 0 --exit-on-fatal-error
27+
run: pnpm run lint --max-warnings 0 --exit-on-fatal-error

0 commit comments

Comments
 (0)