Skip to content

Fix/version update

Fix/version update #8

Workflow file for this run

name: API CI
on:
pull_request:
branches: [ master ]
jobs:
ApiTest:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./api
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: './api/package-lock.json'
- run: npm install
- run: npm run test
- name: Generate API Mochawesome Report
if: always()
uses: actions/upload-artifact@v3
with:
name: APIMochaReport
path: api/reports