Skip to content

fix

fix #260

Workflow file for this run

name: Build
on: [push]
jobs:
build-and-test-dbstats:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20 ]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install shared deps
working-directory: ./dbstats/shared
run: npm ci
- name: Install backend deps
working-directory: ./dbstats/backend
run: npm ci
- name: Install frontend deps
working-directory: ./dbstats/frontend
run: npm ci
- name: build front
working-directory: ./dbstats/frontend
run: npm run build
- name: build back
working-directory: ./dbstats/backend
run: npm run build
- name: test backend
working-directory: ./dbstats/backend
run: npm run test
- name: lint backend
working-directory: ./dbstats/backend
run: npm run lint
- name: lint frontend
working-directory: ./dbstats/frontend
run: npm run lint