mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-05 23:40:12 +01:00
22 lines
447 B
YAML
22 lines
447 B
YAML
name: Backend system tests
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
integration-tests:
|
|
runs-on: ubuntu-latest
|
|
container: node:18-alpine
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
path: backend
|
|
- name: Install Dependencies
|
|
run: npm install
|
|
- name: Create .env file
|
|
run: mv .env.example .env
|
|
- name: Run Server and Test with Newman
|
|
run: npm run test:system
|