Cypress Scans #87
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 Scans | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 8 * * 1-5' | |
jobs: | |
cypress: | |
runs-on: ubuntu-18.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
# run copies of the current job in parallel | |
containers: [1, 2, 3, 4] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install Cypress | |
run: npm install -g cypress@10 | |
- name: Install | |
run: npm ci | |
- name: Run Tests | |
run: npm run cy:run:record | |
env: | |
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} |