Skip to content

initial

initial #1

name: Quality Checks
on:
push:
branches: [main]
pull_request:
branches: [main]
paths-ignore:
- .github/workflows/quality-checks.yml # Ignore changes to this file
# Allows you to run this workflow manually from the Actions tap on GitHub.
workflow_dispatch:
jobs:
quality-checks:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test:run
- name: Run TypeScript type checking
run: npm run type-check
- name: Run ESLint and fix
run: npm run lint:fix
- name: Format with Prettier
run: npm run format
- name: Check for remaining ESLint errors
run: npm run lint
- name: Check for remaining formatting issues
run: npm run format:check