Skip to content

Commit b8028cf

Browse files
committed
chore: exclude flaky lighthouse plugin
1 parent 37db000 commit b8028cf

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

code-pushup.config.ts

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
import 'dotenv/config';
2-
import { join } from 'node:path';
32
import { z } from 'zod';
43
import {
5-
LIGHTHOUSE_OUTPUT_FILE_DEFAULT,
4+
// LIGHTHOUSE_OUTPUT_FILE_DEFAULT,
65
fileSizePlugin,
7-
fileSizeRecommendedRefs,
8-
lighthouseCorePerfGroupRefs,
9-
lighthousePlugin,
6+
fileSizeRecommendedRefs, // lighthouseCorePerfGroupRefs,
7+
// lighthousePlugin,
108
packageJsonDocumentationGroupRef,
119
packageJsonPerformanceGroupRef,
1210
packageJsonPlugin,
@@ -77,11 +75,12 @@ const config: CoreConfig = {
7775
type: 'module',
7876
}),
7977

80-
await lighthousePlugin({
81-
url: 'https://staging.code-pushup.dev/login',
82-
outputPath: join('.code-pushup', LIGHTHOUSE_OUTPUT_FILE_DEFAULT),
83-
headless: true,
84-
}),
78+
// see https://github.com/code-pushup/cli/issues/538
79+
// await lighthousePlugin({
80+
// url: 'https://staging.code-pushup.dev/login',
81+
// outputPath: join('.code-pushup', LIGHTHOUSE_OUTPUT_FILE_DEFAULT),
82+
// headless: true,
83+
// }),
8584
],
8685

8786
categories: [
@@ -140,7 +139,7 @@ const config: CoreConfig = {
140139
...fileSizeRecommendedRefs,
141140
packageJsonPerformanceGroupRef,
142141
packageJsonDocumentationGroupRef,
143-
...lighthouseCorePerfGroupRefs,
142+
// ...lighthouseCorePerfGroupRefs,
144143
],
145144
},
146145
],

0 commit comments

Comments
 (0)