fix status returned by build scripts #92
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: [ '2.8' ] | |
workflow_dispatch: | |
jobs: | |
install: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout OpenELIS-Global2 | |
uses: actions/checkout@v2 | |
with: | |
repository: ${{github.repository}} | |
- 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 | |