File tree 5 files changed +5
-48
lines changed
5 files changed +5
-48
lines changed Original file line number Diff line number Diff line change 44
44
node :
45
45
- 18
46
46
47
- timeout-minutes : 20
47
+ timeout-minutes : 10
48
48
49
49
name : End to End
50
50
runs-on : ubuntu-latest
83
83
if : steps.cache-build.outputs.cache-hit != 'true'
84
84
run : yarn build:all
85
85
86
- - run : yarn workspace @dd/tests e2e --project "firefox | esbuild"
87
- - name : Inspect directory
88
- if : always()
89
- run : ls -la packages/tests/src/_playwright/projects/dist
86
+ - run : yarn workspace @dd/tests e2e
90
87
91
88
- name : Save playwright cache
92
89
if : always() && steps.cache-playwright-binaries.outputs.cache-hit != 'true'
@@ -100,13 +97,12 @@ jobs:
100
97
key : cache-playwright-binaries-${{ hashFiles('yarn.lock') }}
101
98
102
99
- uses : actions/upload-artifact@v4
103
- if : ${{ !cancelled() }}
100
+ if : ${{ !cancelled() && failure() }}
104
101
with :
105
102
name : playwright
106
103
path : |
107
104
packages/tests/playwright-report
108
105
packages/tests/test-results
109
- packages/tests/src/_playwright/projects/dist
110
106
retention-days : 3
111
107
112
108
lint :
Original file line number Diff line number Diff line change 19
19
},
20
20
"scripts" : {
21
21
"build" : " yarn clean && tsc" ,
22
- "build_esbuild" : " ts-node -T --project ../tools/tsconfig.json ./src/buildEsbuild.ts" ,
23
22
"clean" : " rm -rf dist" ,
24
23
"e2e" : " FORCE_COLOR=true playwright test" ,
25
24
"test" : " FORCE_COLOR=true JEST_CONFIG_TRANSPILE_ONLY=true VITE_CJS_IGNORE_WARNING=true NODE_OPTIONS=\" --openssl-legacy-provider --experimental-vm-modules ${NODE_OPTIONS:-}\" jest" ,
58
57
"nock" : " 14.0.0-beta.7" ,
59
58
"rollup" : " 4.24.2" ,
60
59
"strip-ansi" : " 6.0.1" ,
61
- "ts-node" : " 10.9.2" ,
62
60
"typescript" : " 5.4.3" ,
63
61
"vite" : " 5.4.10" ,
64
62
"webpack" : " 5.92.1" ,
Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ export default defineConfig<TestOptions>({
19
19
/* Retry on CI only */
20
20
retries : process . env . CI ? 2 : 0 ,
21
21
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
22
- reporter : process . env . CI ? [ [ 'list' ] , [ ' html'] ] : 'list' ,
22
+ reporter : process . env . CI ? ' html' : 'list' ,
23
23
/* Path to file run before all the tests. See https://playwright.dev/docs/test-global-setup-teardown */
24
24
globalSetup : require . resolve ( './src/_playwright/globalSetup.ts' ) ,
25
25
use : {
26
26
trace : 'retain-on-failure' ,
27
27
} ,
28
- timeout : 10_000 ,
28
+ timeout : 5_000 ,
29
29
/* Configure projects for each bundler */
30
30
// TODO Also build and test for ESM.
31
31
projects : FULL_NAME_BUNDLERS . map ( ( bundlerName ) => [
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -1792,7 +1792,6 @@ __metadata:
1792
1792
rollup : " npm:4.24.2"
1793
1793
strip-ansi : " npm:6.0.1"
1794
1794
ts-jest : " npm:29.1.2"
1795
- ts-node : " npm:10.9.2"
1796
1795
typescript : " npm:5.4.3"
1797
1796
vite : " npm:5.4.10"
1798
1797
webpack : " npm:5.92.1"
You can’t perform that action at this time.
0 commit comments