Skip to content

Commit

Permalink
ci: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Dec 31, 2024
1 parent d242f97 commit d8da7bc
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: corepack enable

- name: Set node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x

- name: Setup
run: npm i -g @antfu/ni
node-version: lts/*
cache: pnpm

- name: Install
run: nci
run: pnpm i

- name: Lint
run: nr lint --max-warnings 0 --exit-on-fatal-error
run: pnpm run lint --max-warnings 0 --exit-on-fatal-error

0 comments on commit d8da7bc

Please sign in to comment.