Skip to content

Cleanup

Cleanup #274

Workflow file for this run

name: Quality Check PR
on:
pull_request:
types:
- opened
- synchronize
- reopened
branches:
- main
concurrency:
group: qc-check-app-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Install Dependencies
run: npm ci --ignore-scripts
- name: Run Lint
run: npm run lint
test-server:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Install Dependencies
working-directory: ./server
run: npm ci
- name: Run Tests
working-directory: ./server
run: npm test
- name: Test Types
working-directory: ./server
run: npm run test:types
test-client:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Install Dependencies
working-directory: ./client
run: npm ci
- name: Run Tests
working-directory: ./client
run: npm test -- run
- name: Test Types
working-directory: ./client
run: npm run test:types