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
41 changes: 34 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [main]

jobs:
lint-and-format:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
Expand All @@ -17,15 +17,42 @@ jobs:
cache: 'npm'

- run: npm ci
- run: npm run lint

- name: Lint
run: npm run lint
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: '22'
cache: 'npm'

- name: Format check
run: npm run format:check
- run: npm ci
- run: npm run format:check

- name: Type check
run: npm run compile
type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: '22'
cache: 'npm'

- run: npm ci
- run: npm run compile

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: '22'
cache: 'npm'

- run: npm ci

- name: Test with coverage
run: npm run test:coverage
Expand Down
Loading