Skip to content

Update cypress-io/github-action action to v7 #2272

Update cypress-io/github-action action to v7

Update cypress-io/github-action action to v7 #2272

Workflow file for this run

name: E2E Tests
on: [push]
jobs:
cypress-run:
name: Cypress E2E Tests
runs-on: ubuntu-latest
env:
REACT_APP_DESCOPE_PROJECT_ID: ${{ secrets.REACT_APP_DESCOPE_PROJECT_ID }}
REACT_APP_DESCOPE_MANAGEMENT_KEY: ${{ secrets.REACT_APP_DESCOPE_MANAGEMENT_KEY }}
# CI: false
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: yarn install
# - name: Build
# run: yarn build
- name: Cypress run
uses: cypress-io/github-action@b7a7441d775af8f8b9d19945c10dd689a51dba68 # v7.2.0
with:
start: yarn start
wait-on: "http://localhost:3000"
wait-on-timeout: 240
browser: chrome
node-version: 22