Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,29 @@ on:
branches: [ main ]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Run linter
run: npm run lint

- name: Check formatting
run: npm run format:check

test:
runs-on: ubuntu-latest
needs: lint

strategy:
matrix:
Expand All @@ -26,12 +47,6 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Run linter
run: npm run lint

- name: Check formatting
run: npm run format:check

- name: Run tests
run: npm test
env:
Expand Down