ci: use biome
This commit is contained in:
parent
7cd2acc5dd
commit
e015c52350
2 changed files with 15 additions and 7 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -3,7 +3,7 @@ name: CI
|
|||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
biome:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout branch
|
||||
|
|
@ -14,8 +14,8 @@ jobs:
|
|||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: 'pnpm'
|
||||
cache: "pnpm"
|
||||
- name: Install Dependencies
|
||||
run: pnpm i --frozen-lockfile
|
||||
- name: Run lint
|
||||
run: pnpm run lint
|
||||
- name: Run biome
|
||||
run: pnpm biome ci --error-on-warnings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue