Skip to content

ci: add GitHub Actions workflows for build, test, type-check, and lint #1

ci: add GitHub Actions workflows for build, test, type-check, and lint

ci: add GitHub Actions workflows for build, test, type-check, and lint #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
name: Build · Test · Type Check
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Build all @muix/* packages
run: npm run build -- --filter=@muix/*
- name: Run tests
run: npm test -- --filter=@muix/*
- name: Type check
run: npm run check-types -- --filter=@muix/*