File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const path = require('path');
66const { cyan, red} = require ( 'kleur/colors' ) ;
77const { execOrDie} = require ( './exec' ) ;
88const { getOutput} = require ( './process' ) ;
9- const { isCiBuild} = require ( './ci' ) ;
9+ const { isCiBuild, isPullRequestBuild } = require ( './ci' ) ;
1010const { log, logLocalDev} = require ( './logging' ) ;
1111const { runNpmChecks} = require ( './npm-checks' ) ;
1212
@@ -213,7 +213,7 @@ function updatePackages() {
213213 patchIntersectionObserver ( ) ;
214214 patchResizeObserver ( ) ;
215215 patchShadowDom ( ) ;
216- if ( isCiBuild ( ) ) {
216+ if ( isPullRequestBuild ( ) ) {
217217 runNpmChecks ( ) ;
218218 }
219219}
@@ -244,7 +244,7 @@ function updateSubpackages(dir, skipNpmChecks = false) {
244244 throw new Error ( 'Installation failed' ) ;
245245 }
246246 }
247- if ( isCiBuild ( ) && ! skipNpmChecks ) {
247+ if ( isPullRequestBuild ( ) && ! skipNpmChecks ) {
248248 runNpmChecks ( dir ) ;
249249 }
250250}
You can’t perform that action at this time.
0 commit comments