103
103
//-------------------------------------------------------------------------------------------------+
104
104
// Rebuild the extension with the copied `yarn.lock`. It is a must to use the same Theia versions. |
105
105
//-------------------------------------------------------------------------------------------------+
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`);
107
107
108
108
//-------------------------------------------------------------------------------------------------------------------------+
109
109
// Test the application. With this approach, we cannot publish test results to GH Actions but save 6-10 minutes per builds |
110
110
//-------------------------------------------------------------------------------------------------------------------------+
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`);
112
112
113
113
// Collect all unused dependencies by the backend. We have to remove them from the electron app.
114
114
// The `bundle.js` already contains everything we need for the frontend.
@@ -176,8 +176,8 @@ ${fs.readFileSync(path('..', 'build', 'package.json')).toString()}
176
176
//-------------------------------------------------------------------------------------------+
177
177
// Install all private and public dependencies for the electron application and build Theia. |
178
178
//-------------------------------------------------------------------------------------------+
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`);
181
181
182
182
//------------------------------------------------------------------------------+
183
183
// 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()}
193
193
//-----------------------------------+
194
194
// Package the electron application. |
195
195
//-----------------------------------+
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`);
197
197
198
198
//-----------------------------------------------------------------------------------------------------+
199
199
// Copy to another folder. Azure does not support wildcard for `
[email protected] ` |
0 commit comments