Final Project PRD #324
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: Testing Core Requirements | |
on: | |
pull_request: | |
branches: [ main ] | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/checkout@v2 | |
- name: Set up Node.js 16.x | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm install | |
- name: Determine changed files | |
id: files | |
uses: jitterbit/get-changed-files@v1 | |
with: | |
format: json | |
- name: Run jest | |
run: | | |
npx http-server --silent --port 8080 & | |
npm test __tests__/test_wcag.js --color=true |