fix heading #6
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: OpenELis Frontend QA framework workflow | |
on: | |
push: | |
branches: [ develop] | |
pull_request: | |
branches: [develop] | |
workflow_dispatch: | |
jobs: | |
install: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout OpenELIS-Global2 | |
uses: actions/checkout@v2 | |
with: | |
repository: ${{github.repository}} | |
- name: Run OpenELS image | |
run : docker-compose -f build.docker-compose.yml up -d | |
- name: Sleep for 2 minutes | |
run: sleep 2m | |
shell: bash | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 14.x | |
- name: Install dependencies | |
run: npm install | |
working-directory: frontend | |
- name: Install React scripts | |
run: npm install [email protected] -g | |
working-directory: frontend | |
- name: Run Frontend Qa Workflow | |
run: npx cypress run –headless | |
working-directory: frontend | |