Skip to content

Commit 0a5d364

Browse files
committed
update other actions
1 parent 742331c commit 0a5d364

File tree

2 files changed

+22
-15
lines changed

2 files changed

+22
-15
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -921,23 +921,22 @@ jobs:
921921
E2E_TEST_PUBLISH_SCRIPT_NODE_VERSION: ${{ steps.versions.outputs.node }}
922922

923923
- name: Copy to temp
924-
run:
925-
yarn ci:copy-to-temp ./test-applications/${{ matrix.test-application }} ${{ runner.temp }}/test-application
924+
run: yarn ci:copy-to-temp ./test-applications/${{ matrix.test-application }} ${{ runner.temp }}/test-application
926925
working-directory: dev-packages/e2e-tests
927926

928927
- name: Build E2E app
929-
working-directory: ${{ runner.temp }}/test-application
928+
working-directory: ${{ runner.temp }}/test-application
930929
timeout-minutes: 7
931930
run: pnpm ${{ matrix.build-command || 'test:build' }}
932931

933932
- name: Install Playwright
934933
uses: ./.github/actions/install-playwright
935934
with:
936935
browsers: chromium
937-
cwd: ${{ runner.temp }}/test-application
936+
cwd: ${{ runner.temp }}/test-application
938937

939938
- name: Run E2E test
940-
working-directory: ${{ runner.temp }}/test-application
939+
working-directory: ${{ runner.temp }}/test-application
941940
timeout-minutes: 10
942941
run: pnpm test:assert
943942

@@ -946,7 +945,7 @@ jobs:
946945
if: failure()
947946
with:
948947
name: playwright-traces-job_e2e_playwright_tests-${{ matrix.test-application}}
949-
path: ${{ runner.temp }}/test-application/test-results
948+
path: ${{ runner.temp }}/test-application/test-results
950949
overwrite: true
951950
retention-days: 7
952951

@@ -960,7 +959,7 @@ jobs:
960959
if: always()
961960
with:
962961
name: E2E Test Dump (${{ matrix.label || matrix.test-application }})
963-
path: ${{ runner.temp }}/test-application/event-dumps
962+
path: ${{ runner.temp }}/test-application/event-dumps
964963
overwrite: true
965964
retention-days: 7
966965
if-no-files-found: ignore
@@ -1042,19 +1041,23 @@ jobs:
10421041
env:
10431042
E2E_TEST_PUBLISH_SCRIPT_NODE_VERSION: ${{ steps.versions.outputs.node }}
10441043

1044+
- name: Copy to temp
1045+
run: yarn ci:copy-to-temp ./test-applications/${{ matrix.test-application }} ${{ runner.temp }}/test-application
1046+
working-directory: dev-packages/e2e-tests
1047+
10451048
- name: Build E2E app
1046-
working-directory: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
1049+
working-directory: ${{ runner.temp }}/test-application
10471050
timeout-minutes: 7
10481051
run: pnpm ${{ matrix.build-command || 'test:build' }}
10491052

10501053
- name: Install Playwright
10511054
uses: ./.github/actions/install-playwright
10521055
with:
10531056
browsers: chromium
1054-
cwd: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
1057+
cwd: ${{ runner.temp }}/test-application
10551058

10561059
- name: Run E2E test
1057-
working-directory: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
1060+
working-directory: ${{ runner.temp }}/test-application
10581061
timeout-minutes: 10
10591062
run: pnpm ${{ matrix.assert-command || 'test:assert' }}
10601063

@@ -1068,7 +1071,7 @@ jobs:
10681071
if: always()
10691072
with:
10701073
name: E2E Test Dump (${{ matrix.label || matrix.test-application }})
1071-
path: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}/event-dumps
1074+
path: ${{ runner.temp }}/test-application/event-dumps
10721075
overwrite: true
10731076
retention-days: 7
10741077
if-no-files-found: ignore
@@ -1081,7 +1084,7 @@ jobs:
10811084
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
10821085
projectName: ${{ secrets.CLOUDFLARE_PROJECT_NAME }}
10831086
directory: dist
1084-
workingDirectory: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
1087+
workingDirectory: ${{ runner.temp }}/test-application
10851088

10861089
job_required_jobs_passed:
10871090
name: All required jobs passed or were skipped

.github/workflows/canary.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,19 +153,23 @@ jobs:
153153
env:
154154
E2E_TEST_PUBLISH_SCRIPT_NODE_VERSION: ${{ steps.versions.outputs.node }}
155155

156+
- name: Copy to temp
157+
run: yarn ci:copy-to-temp ./test-applications/${{ matrix.test-application }} ${{ runner.temp }}/test-application
158+
working-directory: dev-packages/e2e-tests
159+
156160
- name: Build E2E app
157-
working-directory: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
161+
working-directory: ${{ runner.temp }}/test-application
158162
timeout-minutes: 7
159163
run: yarn ${{ matrix.build-command }}
160164

161165
- name: Install Playwright
162166
uses: ./.github/actions/install-playwright
163167
with:
164168
browsers: chromium
165-
cwd: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
169+
cwd: ${{ runner.temp }}/test-application
166170

167171
- name: Run E2E test
168-
working-directory: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
172+
working-directory: ${{ runner.temp }}/test-application
169173
timeout-minutes: 15
170174
run: yarn test:assert
171175

0 commit comments

Comments
 (0)