Skip to content

chore: update packages #914

chore: update packages

chore: update packages #914

Workflow file for this run

name: Cypress Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
cypress-run:
runs-on: ubuntu-latest
strategy:
matrix:
browser: [chrome, edge, firefox] # Define the browsers you want to test on
steps:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x' # replace with the latest version of Node.js
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.8.0
- name: Cache PNPM dependencies
uses: actions/cache@v4
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Cache Cypress binary cache
uses: actions/cache@v4
with:
path: ~/.cache/Cypress
key: ${{ runner.os }}-cypress-binary
restore-keys: |
${{ runner.os }}-cypress-
- name: Run Cypress tests
uses: cypress-io/[email protected]
with:
install: false
start: pnpm dev --host
wait-on: 'pnpx wait-on --timeout 60000 tcp:4444'
wait-on-timeout: 700
browser: ${{ matrix.browser }} # Use the browser from the matrix