@dword-design/base 11.3.3 → 11.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -30,7 +30,7 @@ export default async function (options) {
|
|
|
30
30
|
await this.depcheck();
|
|
31
31
|
}
|
|
32
32
|
const runDockerTests = !isCI() || !(_ref = ['win32', 'darwin'], includes(process.platform)(_ref));
|
|
33
|
-
return execa(this.packageConfig.type === 'module' ? packageName`c8` : packageName`nyc`, this.config.testRunner === 'playwright' ? ['playwright', 'test', ...(options.updateSnapshots ? ['--update-snapshots'] : []), ...(options.ui ? ['--ui'] : []), ...(options.uiHost ? ['--ui-host', options.uiHost] : []), ...(options.grep ? ['--grep', options.grep] : []), '--timeout', 130000, '--trace', 'retain-on-failure',
|
|
33
|
+
return execa(this.packageConfig.type === 'module' ? packageName`c8` : packageName`nyc`, this.config.testRunner === 'playwright' ? ['playwright', 'test', ...(options.updateSnapshots ? ['--update-snapshots'] : []), ...(options.ui ? ['--ui'] : []), ...(options.uiHost ? ['--ui-host', options.uiHost] : []), ...(options.grep ? ['--grep', options.grep] : []), '--timeout', 130000, '--trace', 'retain-on-failure', ...(isCI() ? ['--forbid-only'] : []),
|
|
34
34
|
/**
|
|
35
35
|
* Reporter set to dot in CI environments by default.
|
|
36
36
|
* See https://github.com/microsoft/playwright/blob/42ade54975f6990c41cddc7b6e11c46a36648d0d/packages/playwright/src/common/config.ts#L301.
|
|
@@ -105,6 +105,7 @@ Object {
|
|
|
105
105
|
"run": "pnpm test",
|
|
106
106
|
},
|
|
107
107
|
Object {
|
|
108
|
+
"if": "always()",
|
|
108
109
|
"uses": "actions/upload-artifact@v4",
|
|
109
110
|
"with": Object {
|
|
110
111
|
"name": "Images from tests",
|
|
@@ -261,6 +262,7 @@ Object {
|
|
|
261
262
|
"run": "pnpm test",
|
|
262
263
|
},
|
|
263
264
|
Object {
|
|
265
|
+
"if": "always()",
|
|
264
266
|
"uses": "actions/upload-artifact@v4",
|
|
265
267
|
"with": Object {
|
|
266
268
|
"name": "Images from tests",
|
|
@@ -413,6 +415,7 @@ Object {
|
|
|
413
415
|
"run": "pnpm test",
|
|
414
416
|
},
|
|
415
417
|
Object {
|
|
418
|
+
"if": "always()",
|
|
416
419
|
"uses": "actions/upload-artifact@v4",
|
|
417
420
|
"with": Object {
|
|
418
421
|
"name": "Images from tests",
|
|
@@ -510,6 +513,7 @@ Object {
|
|
|
510
513
|
"run": "pnpm test",
|
|
511
514
|
},
|
|
512
515
|
Object {
|
|
516
|
+
"if": "always()",
|
|
513
517
|
"uses": "actions/upload-artifact@v4",
|
|
514
518
|
"with": Object {
|
|
515
519
|
"name": "Images from tests",
|
|
@@ -663,6 +667,7 @@ Object {
|
|
|
663
667
|
"run": "pnpm test",
|
|
664
668
|
},
|
|
665
669
|
Object {
|
|
670
|
+
"if": "always()",
|
|
666
671
|
"uses": "actions/upload-artifact@v4",
|
|
667
672
|
"with": Object {
|
|
668
673
|
"name": "Images from tests",
|
|
@@ -821,6 +826,7 @@ Object {
|
|
|
821
826
|
"run": "pnpm test",
|
|
822
827
|
},
|
|
823
828
|
Object {
|
|
829
|
+
"if": "always()",
|
|
824
830
|
"uses": "actions/upload-artifact@v4",
|
|
825
831
|
"with": Object {
|
|
826
832
|
"name": "Images from tests",
|
|
@@ -1070,6 +1076,7 @@ Object {
|
|
|
1070
1076
|
"run": "pnpm test",
|
|
1071
1077
|
},
|
|
1072
1078
|
Object {
|
|
1079
|
+
"if": "always()",
|
|
1073
1080
|
"uses": "actions/upload-artifact@v4",
|
|
1074
1081
|
"with": Object {
|
|
1075
1082
|
"name": "Images from tests",
|
|
@@ -1167,6 +1174,7 @@ Object {
|
|
|
1167
1174
|
"run": "pnpm test",
|
|
1168
1175
|
},
|
|
1169
1176
|
Object {
|
|
1177
|
+
"if": "always()",
|
|
1170
1178
|
"uses": "actions/upload-artifact@v4",
|
|
1171
1179
|
"with": Object {
|
|
1172
1180
|
"name": "Images from tests",
|