Skip to content

Commit b499b0d

Browse files
davdhacsclaude
andcommitted
Fix paths in ui-e2e-test-pr-cluster job
Fix three path issues: 1. cache-dependency-path needs full path from repo root 2. cypress-io/github-action working-directory needs full path 3. Upload artifacts paths need full path from repo root All paths must be relative to the repository root, not the global working directory setting. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent b2f4079 commit b499b0d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/PR.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ jobs:
214214
with:
215215
node-version: '20'
216216
cache: 'npm'
217-
cache-dependency-path: ui/package-lock.json
217+
cache-dependency-path: go/src/github.com/stackrox/infra/ui/package-lock.json
218218

219219
- name: Install UI dependencies
220220
run: |
@@ -244,7 +244,7 @@ jobs:
244244
- name: Run UI E2E tests
245245
uses: cypress-io/github-action@v6
246246
with:
247-
working-directory: ui
247+
working-directory: go/src/github.com/stackrox/infra/ui
248248
start: npm run start
249249
wait-on: 'http://localhost:3001'
250250
wait-on-timeout: 60
@@ -262,8 +262,8 @@ jobs:
262262
with:
263263
name: cypress-artifacts-pr-cluster-${{ github.event.pull_request.number }}
264264
path: |
265-
ui/cypress/videos
266-
ui/cypress/screenshots
265+
go/src/github.com/stackrox/infra/ui/cypress/videos
266+
go/src/github.com/stackrox/infra/ui/cypress/screenshots
267267
retention-days: 7
268268

269269
- name: Cleanup port-forward

0 commit comments

Comments
 (0)