Create main-branch-cypress-tests..yml #1
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: Run Cypress Tests | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
cypress-tests: | |
runs-on: ubuntu-latest | |
container: cypress/browsers:node-18.16.0-chrome-114.0.5735.133-1-ff-114.0.2-edge-114.0.1823.51-1 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# Install NPM dependencies | |
- name: Install dependencies | |
run: npm install | |
# Run a specific NPM script | |
- name: Run Cypress Tests | |
run: npm run all-specs |