1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-11-16 12:20:13 +01:00
pingvin-share/.github/workflows/backend-system-tests.yml

23 lines
437 B
YAML
Raw Normal View History

2022-10-13 23:23:53 +02:00
name: Backend system tests
on:
pull_request:
branches:
- main
2022-10-17 23:05:39 +02:00
push:
tags:
- "v*"
2022-10-13 23:23:53 +02:00
jobs:
2022-10-14 09:26:30 +02:00
system-tests:
2022-10-13 23:23:53 +02:00
runs-on: ubuntu-latest
2022-10-14 09:26:30 +02:00
container: node:18
2022-10-13 23:23:53 +02:00
steps:
2023-01-13 15:37:49 +01:00
- uses: actions/checkout@v3
2022-10-13 23:23:53 +02:00
- name: Install Dependencies
2022-10-14 09:26:30 +02:00
working-directory: ./backend
2022-10-13 23:23:53 +02:00
run: npm install
- name: Run Server and Test with Newman
2022-10-14 09:26:30 +02:00
working-directory: ./backend
2022-10-13 23:23:53 +02:00
run: npm run test:system