File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ export default function lighthousePlugin(inputs) {
3535 onPreBuild,
3636 onPostBuild : ( { utils } ) => persistCache ( { utils } ) ,
3737 onSuccess : async ( { constants, utils, inputs } = { } ) => {
38+ console . log ( '🚨 LIGHTHOUSE PLUGIN onSuccess invoked' ) ;
3839 // Mock the required `utils` functions if running locally
3940 const { failPlugin, show } = getUtils ( { utils } ) ;
4041
@@ -53,6 +54,7 @@ export default function lighthousePlugin(inputs) {
5354 onPostBuild : async ( { constants, utils, inputs } = { } ) => {
5455 // Mock the required `utils` functions if running locally
5556 const { failBuild, show } = getUtils ( { utils } ) ;
57+ console . log ( '🚨 LIGHTHOUSE PLUGIN onPostBuild invoked' ) ;
5658
5759 await persistCache ( { utils } ) ;
5860 await runEvent ( {
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ const runEvent = async ({
5353 const data = [ ] ;
5454
5555 let i = 0 ;
56+ console . log ( 'Running Lighthouse audits' , auditConfigs ) ;
5657 for ( const auditConfig of auditConfigs ) {
5758 i ++ ;
5859
You can’t perform that action at this time.
0 commit comments