diff --git a/main.js b/main.js index 008dcf7f..5b72dd30 100644 --- a/main.js +++ b/main.js @@ -27,6 +27,7 @@ async function run() { const prAssets = await getAssetSizes(files); await exec(`git checkout ${pullRequest.base.sha}`); + await buildAssets(buildAssetsCommand); const masterAssets = await getAssetSizes(files); const fileDiffs = diffSizes(normaliseFingerprint(masterAssets), normaliseFingerprint(prAssets));