feat(alfred-live): audit-first pipeline + auth hooks #82
Workflow file for this run
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'pnpm' | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm lint | |
| - run: pnpm test | |
| # Browser tests | |
| - run: pnpm demo:web:install | |
| - run: npx --prefix alfred/examples/web playwright install --with-deps chromium | |
| - run: pnpm test:browser | |
| # Cloudflare Workers tests | |
| - run: docker build -f alfred/examples/cloudflare-worker/Dockerfile -t alfred-cf-test alfred | |
| - run: docker run --rm alfred-cf-test |