Update README.md #156
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: Cypress Tests | |
on: push | |
jobs: | |
cypress-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14.x' | |
- name: Install Cypress dependencies | |
run: npm install | |
- name: Wait for applications to start | |
run: sleep 30 # Adjust the duration based on how long it takes for your applications to start | |
- name: Run Cypress tests | |
run: npx cypress run |