Skip to content

Set up ruff

Set up ruff #22

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install -r requirements.txt
- run: ruff check --output-format=github .
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- id: node-cache
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/.nvmrc') }}-${{ hashFiles('**/package-lock.json') }}
- if: steps.node-cache.outputs.cache-hit != 'true'
run: npm install --prefix frontend --no-audit --no-fund --progress=false
- run: npm run lint --prefix frontend
- run: npm run build --prefix frontend