103103 //-------------------------------------------------------------------------------------------------+
104104 // Rebuild the extension with the copied `yarn.lock`. It is a must to use the same Theia versions. |
105105 //-------------------------------------------------------------------------------------------------+
106- exec ( `yarn --network-timeout 1000000 --cwd ${ path ( '..' , workingCopy ) } ` , `Building the ${ productName } application` ) ;
106+ exec ( `yarn --ignore-engines -- network-timeout 1000000 --cwd ${ path ( '..' , workingCopy ) } ` , `Building the ${ productName } application` ) ;
107107
108108 //-------------------------------------------------------------------------------------------------------------------------+
109109 // Test the application. With this approach, we cannot publish test results to GH Actions but save 6-10 minutes per builds |
110110 //-------------------------------------------------------------------------------------------------------------------------+
111- exec ( `yarn --network-timeout 1000000 --cwd ${ path ( '..' , workingCopy ) } test` , `Testing the ${ productName } application` ) ;
111+ exec ( `yarn --ignore-engines -- network-timeout 1000000 --cwd ${ path ( '..' , workingCopy ) } test` , `Testing the ${ productName } application` ) ;
112112
113113 // Collect all unused dependencies by the backend. We have to remove them from the electron app.
114114 // The `bundle.js` already contains everything we need for the frontend.
@@ -176,8 +176,8 @@ ${fs.readFileSync(path('..', 'build', 'package.json')).toString()}
176176 //-------------------------------------------------------------------------------------------+
177177 // Install all private and public dependencies for the electron application and build Theia. |
178178 //-------------------------------------------------------------------------------------------+
179- exec ( `yarn --network-timeout 1000000 --cwd ${ path ( '..' , 'build' ) } ` , 'Installing dependencies' ) ;
180- exec ( `yarn --network-timeout 1000000 --cwd ${ path ( '..' , 'build' ) } build${ isElectronPublish ? ':publish' : '' } ` , `Building the ${ productName } application` ) ;
179+ exec ( `yarn --ignore-engines -- network-timeout 1000000 --cwd ${ path ( '..' , 'build' ) } ` , 'Installing dependencies' ) ;
180+ exec ( `yarn --ignore-engines -- network-timeout 1000000 --cwd ${ path ( '..' , 'build' ) } build${ isElectronPublish ? ':publish' : '' } ` , `Building the ${ productName } application` ) ;
181181
182182 //------------------------------------------------------------------------------+
183183 // Create a throw away dotenv file which we use to feed the builder with input. |
@@ -193,7 +193,7 @@ ${fs.readFileSync(path('..', 'build', 'package.json')).toString()}
193193 //-----------------------------------+
194194 // Package the electron application. |
195195 //-----------------------------------+
196- exec ( `yarn --network-timeout 1000000 --cwd ${ path ( '..' , 'build' ) } package` , `Packaging your ${ productName } application` ) ;
196+ exec ( `yarn --ignore-engines -- network-timeout 1000000 --cwd ${ path ( '..' , 'build' ) } package` , `Packaging your ${ productName } application` ) ;
197197
198198 //-----------------------------------------------------------------------------------------------------+
199199 // Copy to another folder. Azure does not support wildcard for `PublishBuildArtifacts@1.pathToPublish` |
0 commit comments