Configure working dir for steps #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Training Portal Tests" | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Repo Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14 | ||
- name: Setup Portal | ||
working-directory: ./trainingportal | ||
run: | | ||
npm install | ||
config.json.docker config.json | ||
tools/devSetup.js | ||
- name: Run Tests | ||
working-directory: ./trainingportal | ||
run: npm test |