Skip to content

Commit

Permalink
Add lint/format check in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Apr 17, 2024
1 parent 08ea78e commit fa2e688
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@ on:
- 'docs/**'

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js LTS
uses: actions/setup-node@v1
with:
node-version: '16.x'
- uses: bahmutov/npm-install@v1
- name: Lint Check
run: biome lint src
- name: Format Check
run: biome format src
unit-test:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit fa2e688

Please sign in to comment.