Skip to content

Add specs to test authentication of each of case_maanger router endpo… #890

Add specs to test authentication of each of case_maanger router endpo…

Add specs to test authentication of each of case_maanger router endpo… #890

Workflow file for this run

name: PR
on: [push]
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 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