1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-07-04 16:30:13 +02:00
pingvin-share/.github/workflows/backend-system-tests.yml
2022-10-14 09:26:30 +02:00

23 lines
508 B
YAML

name: Backend system tests
on:
pull_request:
branches:
- main
jobs:
system-tests:
runs-on: ubuntu-latest
container: node:18
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
working-directory: ./backend
run: npm install
- name: Create .env file
working-directory: ./backend
run: mv .env.example .env
- name: Run Server and Test with Newman
working-directory: ./backend
run: npm run test:system