Skip to content

API - Continuous Integration #1

API - Continuous Integration

API - Continuous Integration #1

Workflow file for this run

name: API - Continuous Integration
on:
workflow_run:
workflows: ['API - Security Checks']
types:
- completed
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install dependencies
run: |
cd api
npm install
- name: Run tests
run: |
cd api
npm test