Skip to content

test: API tests closes #20 #1

test: API tests closes #20

test: API tests closes #20 #1

Workflow file for this run

name: API Test
on:
push:
paths:
- 'src/controllers/**'
- 'src/routes/**'
- 'test/**'
jobs:
api-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js lts/*
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Run API tests
run: npm test