Skip to content

[Snyk] Upgrade pg from 8.8.0 to 8.11.3 #551

[Snyk] Upgrade pg from 8.8.0 to 8.11.3

[Snyk] Upgrade pg from 8.8.0 to 8.11.3 #551

Workflow file for this run

name: 'API Unit Test'
on:
pull_request:
branches: [main]
paths:
- "src/backend/**"
workflow_dispatch:
jobs:
API-unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x, 18.x ]
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Use NodeJS ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Setup environment variables
- name: Setup environment
run: |
make api-setup-env
- name: Navigate to Backend, run npm tests
run: |
cd src/backend
npm ci
npm run test