# Runs on every push and pull request: typecheck, lint, unit tests, build. # Gitea Actions uses the GitHub Actions syntax; needs a runner with Docker. name: CI on: push: branches: [main] pull_request: jobs: check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 with: version: 10 - uses: actions/setup-node@v4 with: node-version: 22 cache: pnpm # --ignore-scripts: skip `prepare` (the build) here; it runs as its own step. - run: pnpm install --frozen-lockfile --ignore-scripts - run: pnpm typecheck - run: pnpm lint - run: pnpm test:int - run: pnpm build