Skip to content

Bacpop 186 v9 db

Bacpop 186 v9 db #280

Workflow file for this run

name: Lint CI
on:
push:
branches:
- main
pull_request:
branches:
- main
- "bacpop-*"
jobs:
lint_frontend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./app/client-v2
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: ./app/client-v2/package-lock.json
- run: npm ci
- name: linting
run: npm run lint
- name: format check
run: npm run format:check
lint_backend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./app/server
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
cache-dependency-path: ./app/server/package-lock.json
- run: npm ci
- name: linting
run: npm run eslint