Skip to content

ci: add GitHub Actions workflow #1

ci: add GitHub Actions workflow

ci: add GitHub Actions workflow #1

Workflow file for this run

name: CI
on:
push:
branches: [main, v3]
pull_request:
branches: [main]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Type check
run: yarn typecheck
- name: Test
run: yarn test
- name: Build
run: yarn build
- name: Size limit
run: yarn size