Skip to content

PIMS-2000: Make non-optional checkboxes mandatory #1566

PIMS-2000: Make non-optional checkboxes mandatory

PIMS-2000: Make non-optional checkboxes mandatory #1566

Workflow file for this run

name: Express API Linting Check
on:
pull_request:
types: [opened, synchronize]
branches: [main]
paths:
- "express-api/**"
- ".github/workflows/api-lint.yaml"
workflow_dispatch:
jobs:
lint-api:
name: Lint Express API
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
# Could optimize this by only installing necessary dependencies
- name: Install Dependencies
working-directory: ./express-api
run: npm i --only=dev
- name: Run ESLint
working-directory: ./express-api
run: npm run lint
- name: Run Prettier
working-directory: ./express-api
run: npm run check