Skip to content

Codespaces improvement and repo hygiene #138

Codespaces improvement and repo hygiene

Codespaces improvement and repo hygiene #138

Workflow file for this run

name: Frontend Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Run Frontend Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci
- name: Formatting check
run: npm run format:check
- name: Lint
run: npm run lint
- name: Run tests
run: npm run test:ci