Skip to content

Commit 63116ca

Browse files
committed
Set correct working directory
1 parent 11944d2 commit 63116ca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,14 +220,15 @@ jobs:
220220
# Uses the official Cypress GitHub action https://github.com/cypress-io/github-action
221221
uses: cypress-io/github-action@v7
222222
with:
223+
working-directory: packages/datagateway-dataview
223224
# Starts web server for E2E tests - replace with your own server invocation
224225
# https://docs.cypress.io/guides/continuous-integration/introduction#Boot-your-server
225-
start: yarn workspace datagateway-dataview run e2e:serve
226+
start: yarn e2e:serve
226227
wait-on: 'http://localhost:3000' # Waits for above
227228
# Records to Cypress Cloud
228229
# https://docs.cypress.io/guides/cloud/projects#Set-up-a-project-to-record
229230
record: true
230-
spec: packages/datagateway-dataview/cypress/e2e/table/pageContainer.cy.ts
231+
spec: cypress/e2e/table/pageContainer.cy.ts
231232
env:
232233
# For recording and parallelization to work you must set your CYPRESS_RECORD_KEY
233234
# in GitHub repo → Settings → Secrets → Actions

0 commit comments

Comments
 (0)