Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Cypress component tests #3730

Cypress component tests

Cypress component tests #3730

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