Update dependency cypress to v13.6.4 #3882
Workflow file for this run
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: Build | |
on: | |
push: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
env: | |
# if you want to enable parallelization | |
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | |
# so that we can abuse retry button in CI, and tests still run in parallel in Cy Cloud | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
install-dependencies: | |
name: Install Dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Install dependencies | |
uses: cypress-io/github-action@v5 | |
with: | |
runTests: false | |
lint: | |
needs: install-dependencies | |
name: Run Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Install dependencies | |
uses: cypress-io/github-action@v5 | |
with: | |
runTests: false | |
- name: lint | |
run: yarn lint | |
typecheck: | |
needs: install-dependencies | |
name: Run typecheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Install dependencies | |
uses: cypress-io/github-action@v5 | |
with: | |
runTests: false | |
- name: typecheck | |
run: yarn typecheck | |
cypress-e2e-test: | |
# if you want to enable parallelization | |
# strategy: | |
# fail-fast: false | |
# matrix: | |
# containers: [1, 2] | |
needs: [install-dependencies] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Install Specific Chrome Version | |
run: | | |
sudo apt-get install -y wget | |
sudo wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo apt-get install ./google-chrome-stable_current_amd64.deb | |
- name: Cypress e2e tests 🧪 | |
uses: cypress-io/github-action@v5 | |
with: | |
start: yarn start | |
wait-on: 'http://localhost:3000' | |
browser: chrome | |
# if you want to enable parallelization | |
# record: true | |
# parallel: true | |
# group: e2e-tests | |
# tag: e2e-tests | |
cypress-ct-test: | |
# if you want to enable parallelization | |
# strategy: | |
# fail-fast: false | |
# matrix: | |
# containers: [1, 2, 3, 4, 5, 6] | |
needs: [install-dependencies] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Install Specific Chrome Version | |
run: | | |
sudo apt-get install -y wget | |
sudo wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo apt-get install ./google-chrome-stable_current_amd64.deb | |
- name: Cypress component tests 🧪 | |
uses: cypress-io/github-action@v5 | |
with: | |
component: true | |
browser: chrome | |
# if you want to enable parallelization | |
# record: true | |
# parallel: true | |
# group: ct-tests | |
# tag: ct-tests |