docs(wave7): Co-Pilot email + Resend sandbox notes #14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| # Guards the main branch and every PR against breaking workspace builds, | |
| # type errors, lint regressions, and unit-test failures. Playwright E2E | |
| # and Cloudflare deploy-preview jobs are deferred until those harnesses | |
| # land (see PRD §11). | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| build-and-test: | |
| name: build-and-test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 11.0.9 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Typecheck | |
| run: pnpm typecheck | |
| - name: Lint (biome) | |
| run: pnpm lint | |
| - name: Test (vitest) | |
| # Vitest exits 0 when no test files match its pattern, so this is | |
| # safe to run before any tests exist. Drop continue-on-error once | |
| # we add the first real suite if we want a stricter signal. | |
| run: pnpm test | |
| continue-on-error: true | |
| - name: Build | |
| run: pnpm build |