name: CI on: push: branches: [main] pull_request: jobs: quality: runs-on: ubuntu-latest env: DATABASE_URL: "file:./ci.db" NUXT_PUBLIC_SITE_URL: "http://localhost:3000" steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 22 cache: npm - run: npm ci - run: npm run lint - run: npm run typecheck - run: npm run db:setup - run: npm test - run: npm run build - name: e2e smoke run: | npm start & for i in $(seq 1 60); do if curl -sf http://127.0.0.1:3000/api/health >/dev/null; then break; fi sleep 1 done npm run test:e2e