Skip to content

Change directory to training portal for tests #3

Change directory to training portal for tests

Change directory to training portal for tests #3

Workflow file for this run

name: "Training Portal Tests"
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
tests:
runs-on: ubuntu-latest
steps:
# Checkout the Repo
- uses: actions/checkout@v2
# Install Node 14
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 14
# Install dependencies
- run: npm install
# Setup config
- run: cd trainingportal
- run: cp config.json.docker config.json
# Setup local database and local user
- run: tools/devSetup.js
# Run tests
- run: npm test