Skip to content

Use the type param in the table, to ensure we refer to staff on the staff page. #474

Use the type param in the table, to ensure we refer to staff on the staff page.

Use the type param in the table, to ensure we refer to staff on the staff page. #474

Workflow file for this run

name: PR
on: [pull_request]
jobs:
type-check:
name: type-check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 18
cache: "npm"
- name: Install dependencies & generate css types
run: npm i --ci
- name: Check types
run: npm run type:check
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 18
cache: "npm"
- name: Install dependencies
run: npm i --ci
- name: Run format:check
run: npm run format:check
- name: Run lint
run: npm run lint
test:
name: test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 18
cache: "npm"
- name: Install dependencies
run: npm i --ci
- name: Pre-pull Postgres image
run: docker pull postgres:15
- name: Run tests
run: npm run test