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
This commit is contained in:
Ryan Cohen
2025-10-06 14:11:13 -06:00
committed by GitHub
parent 00b2e97f8d
commit 1a503e9fa4
2 changed files with 10 additions and 10 deletions

View File

@@ -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