Skip to content

Commit 1759ff4

Browse files
committed
test only on success
1 parent 8c68c9e commit 1759ff4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ export default function lighthousePlugin(inputs) {
3232

3333
if (defaultEvent === 'onSuccess') {
3434
return {
35-
onPreBuild,
36-
onPostBuild: ({ utils }) => persistCache({ utils }),
35+
// onPreBuild,
36+
// onPostBuild: ({ utils }) => persistCache({ utils }),
3737
onSuccess: async ({ constants, utils, inputs } = {}) => {
3838
console.log('🚨 LIGHTHOUSE PLUGIN onSuccess invoked');
3939
// Mock the required `utils` functions if running locally

0 commit comments

Comments
 (0)