Skip to content

Commit fc2feee

Browse files
authored
fix the test CI (rrweb-io#1405)
* run tests without concurrency * do not use cache in rpt2 during test
1 parent ce8da12 commit fc2feee

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"scripts": {
3939
"build:all": "NODE_OPTIONS='--max-old-space-size=4096' yarn run concurrently --success=all -r -m=1 'yarn workspaces-to-typescript-project-references' 'yarn turbo run prepublish'",
40-
"test": "yarn run concurrently --success=all -r -m=1 'yarn workspaces-to-typescript-project-references --check' 'yarn turbo run test'",
40+
"test": "yarn run concurrently --success=all -r -m=1 'yarn workspaces-to-typescript-project-references --check' 'yarn turbo run test --concurrency=1'",
4141
"test:watch": "yarn turbo run test:watch",
4242
"test:update": "yarn turbo run test:update",
4343
"format": "yarn prettier --write '**/*.{ts,md}'",

packages/rrdom/test/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export async function compileTSCode(inputFilePath: string) {
1313
resolve() as unknown as rollup.Plugin,
1414
_typescript({
1515
tsconfigOverride: { compilerOptions: { module: 'ESNext' } },
16+
clean: true,
1617
}) as unknown as rollup.Plugin,
1718
],
1819
});

0 commit comments

Comments
 (0)