Skip to content

Migrate to biome and add lint, typecheck to CI #7

Migrate to biome and add lint, typecheck to CI

Migrate to biome and add lint, typecheck to CI #7

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22.20.0'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Setup Nx cache
uses: actions/cache@v3
with:
path: .nx/cache
key: ${{ runner.os }}-nx-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-nx-
- name: Lint
run: yarn lint
- name: Type check
run: yarn typecheck
- name: Test
run: yarn test
- name: Build
run: yarn build