From 1a503e9fa4b83060e9961d5098433aa0c98ccfa8 Mon Sep 17 00:00:00 2001 From: Ryan Cohen Date: Mon, 6 Oct 2025 14:11:13 -0600 Subject: [PATCH] ci: update cypress project id (#1981) [skip ci] * ci: update cypress project id * try without cache * add install command * install cypress dep manually * use enable pre-post-scripts instead of manually installing * revert back to manual install * move cypress binary install after cache --- .github/workflows/cypress.yml | 18 +++++++++--------- cypress.config.ts | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 0baa1fa3c..4d3e1cfe3 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -39,6 +39,9 @@ jobs: - name: Pnpm Setup uses: pnpm/action-setup@v4 + - name: Install dependencies + run: pnpm install --frozen-lockfile + - name: Setup cypress cache uses: actions/cache@v4 with: @@ -47,9 +50,15 @@ jobs: restore-keys: | ${{ runner.os }}-cypress-store- + - name: Install Cypress binary + env: + CYPRESS_CACHE_FOLDER: ~/.cache/Cypress + run: pnpm exec cypress install + - name: Cypress run uses: cypress-io/github-action@v6 with: + install: false build: pnpm cypress:build start: pnpm start wait-on: 'http://localhost:5055' @@ -61,12 +70,3 @@ jobs: # Fix test titles in cypress dashboard COMMIT_INFO_MESSAGE: ${{github.event.pull_request.title}} COMMIT_INFO_SHA: ${{github.event.pull_request.head.sha}} - - - name: Upload video files - if: always() - uses: actions/upload-artifact@v4 - with: - name: cypress-videos - path: | - cypress/videos - cypress/screenshots diff --git a/cypress.config.ts b/cypress.config.ts index 793a207f0..0fa88d2f9 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -1,7 +1,7 @@ import { defineConfig } from 'cypress'; export default defineConfig({ - projectId: 'xkm1b4', + projectId: 'onnqy3', e2e: { baseUrl: 'http://localhost:5055', video: true,