Test correction #263
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
# workflow name | |
name: Unit Tests | |
# execute on events | |
on: [push] | |
# jobs to run | |
jobs: | |
# install dependencies and run test command | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
# 1: setup node | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
# 2: Checkout repository in the CWD | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
# 3: install NPM dependencies | |
- name: Install dependencies | |
run: npm install | |
# 4: run test command | |
- name: Run test command | |
run: CI=true npm run test |