Skip to content

Commit 7ffa271

Browse files
committed
Remove guardrails from debug
1 parent 9697007 commit 7ffa271

File tree

5 files changed

+5
-48
lines changed

5 files changed

+5
-48
lines changed

.github/workflows/ci.yaml

+3-7
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
node:
4545
- 18
4646

47-
timeout-minutes: 20
47+
timeout-minutes: 10
4848

4949
name: End to End
5050
runs-on: ubuntu-latest
@@ -83,10 +83,7 @@ jobs:
8383
if: steps.cache-build.outputs.cache-hit != 'true'
8484
run: yarn build:all
8585

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
9087

9188
- name: Save playwright cache
9289
if: always() && steps.cache-playwright-binaries.outputs.cache-hit != 'true'
@@ -100,13 +97,12 @@ jobs:
10097
key: cache-playwright-binaries-${{ hashFiles('yarn.lock') }}
10198

10299
- uses: actions/upload-artifact@v4
103-
if: ${{ !cancelled() }}
100+
if: ${{ !cancelled() && failure() }}
104101
with:
105102
name: playwright
106103
path: |
107104
packages/tests/playwright-report
108105
packages/tests/test-results
109-
packages/tests/src/_playwright/projects/dist
110106
retention-days: 3
111107

112108
lint:

packages/tests/package.json

-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
},
2020
"scripts": {
2121
"build": "yarn clean && tsc",
22-
"build_esbuild": "ts-node -T --project ../tools/tsconfig.json ./src/buildEsbuild.ts",
2322
"clean": "rm -rf dist",
2423
"e2e": "FORCE_COLOR=true playwright test",
2524
"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,7 +57,6 @@
5857
"nock": "14.0.0-beta.7",
5958
"rollup": "4.24.2",
6059
"strip-ansi": "6.0.1",
61-
"ts-node": "10.9.2",
6260
"typescript": "5.4.3",
6361
"vite": "5.4.10",
6462
"webpack": "5.92.1",

packages/tests/playwright.config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ export default defineConfig<TestOptions>({
1919
/* Retry on CI only */
2020
retries: process.env.CI ? 2 : 0,
2121
/* 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',
2323
/* Path to file run before all the tests. See https://playwright.dev/docs/test-global-setup-teardown */
2424
globalSetup: require.resolve('./src/_playwright/globalSetup.ts'),
2525
use: {
2626
trace: 'retain-on-failure',
2727
},
28-
timeout: 10_000,
28+
timeout: 5_000,
2929
/* Configure projects for each bundler */
3030
// TODO Also build and test for ESM.
3131
projects: FULL_NAME_BUNDLERS.map((bundlerName) => [

packages/tests/src/buildEsbuild.ts

-36
This file was deleted.

yarn.lock

-1
Original file line numberDiff line numberDiff line change
@@ -1792,7 +1792,6 @@ __metadata:
17921792
rollup: "npm:4.24.2"
17931793
strip-ansi: "npm:6.0.1"
17941794
ts-jest: "npm:29.1.2"
1795-
ts-node: "npm:10.9.2"
17961795
typescript: "npm:5.4.3"
17971796
vite: "npm:5.4.10"
17981797
webpack: "npm:5.92.1"

0 commit comments

Comments
 (0)