Skip to content

Refactor: Migrate from single-file HTML to modular TypeScript + Vite #5

Refactor: Migrate from single-file HTML to modular TypeScript + Vite

Refactor: Migrate from single-file HTML to modular TypeScript + Vite #5

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
# Deterministic quality gates, ordered fastest-fail-first. Uses npm ci so the dependency tree
# matches a local run against the same package-lock.json.
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Set up Node
uses: actions/setup-node@v7
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Typecheck
run: npm run typecheck
- name: Lint
run: npm run lint
- name: Unit tests with coverage
run: npm run test:coverage