This repository has been archived by the owner on Jan 2, 2024. It is now read-only.
Cypress component tests #3730
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: Cypress component tests | |
on: | |
pull_request: | |
branches: [master] | |
merge_group: | |
types: [checks_requested] | |
jobs: | |
cypress_component_tests: | |
name: 'Cypress component tests' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Cache Cypress binary and yarn dependencies | |
uses: actions/cache@v3 | |
with: | |
path: '~/.cache' | |
key: ${{ runner.os }}-cypress-${{ hashFiles('**/package.json') }} | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Run Cypress component tests | |
run: yarn --cwd frontend test |