name: CI on: push: branches: [main] pull_request: branches: [main] # Template ships without an eslint.config.js (ESLint v9 flat-config), so the # lint step is skipped here. Add it back in your downstream repo once you've # committed your eslint.config.js — see README "Linting" section. jobs: verify: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setup Node uses: actions/setup-node@v4 with: node-version: '22' # No `cache: 'npm'` here — the template ships without a lock file. # Once your downstream repo has a package-lock.json from `npm install`, # add `cache: 'npm'` back and switch the install step to `npm ci`. - name: Install (use ci once lock file exists) run: npm install - name: Prisma generate (validates schema) run: npx prisma generate - name: Type-check run: npm run type-check