Skip to content

Bump react-dom and @types/react-dom #977

Bump react-dom and @types/react-dom

Bump react-dom and @types/react-dom #977

Workflow file for this run

name: End-to-end tests
on: [pull_request]
jobs:
cypress-run:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [22.13.1]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Cypress install
run: ./node_modules/cypress/bin/cypress install
- name: Cypress run
uses: cypress-io/github-action@v6
with:
install: false
start: pnpm dev
command: pnpm e2e
wait-on: 'http://localhost:5173'
project: ./apps/playground
# after the test run completes
# store videos and any screenshots
# NOTE: screenshots will be generated only if E2E test failed
# thus we store screenshots only on failures
# Alternative: create and commit an empty cypress/screenshots folder
# to always have something to upload
- name: Upload Cypress artifacts
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
path: ./apps/playground/cypress/screenshots