Skip to content

Debug logging enhancements (#68) #16

Debug logging enhancements (#68)

Debug logging enhancements (#68) #16

Workflow file for this run

name: CI-API
on:
push:
branches:
- main
- build-test
pull_request:
branches:
- main
- build-test
jobs:
build-api:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Cache dependencies
uses: actions/cache@v3
with:
path: api/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('api/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
working-directory: api
- name: Build project
run: npm run build
working-directory: api
# TODO: run tests for this app
#- name: Run tests
# run: npm test
# working-directory: api