name: CI on: push: branches: [main] pull_request: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 22 cache: npm - run: npm ci # tsc --noEmit runs first (see package.json), so a type error fails the # build here before anything gets deployed. - run: npm run build