Files
JonKazama-Hellion 7534c196e6
CI / verify (push) Successful in 41s
Drop lint step from CI (ESLint v9 needs eslint.config.js)
Template doesn't ship with an eslint.config.js. ESLint v9 flat-config is
required and there's no sensible default for an empty skeleton — User adds
it after Use-Template + can re-add the lint step then. Type-check via tsc
runs fine and stays in CI.
2026-05-09 17:54:02 +02:00

35 lines
955 B
YAML

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