Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4e7306e

Browse files
committed
Simply use --ignore-engines
1 parent 593d15f commit 4e7306e

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

‎.github/workflows/build.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ jobs:
7777
fi
7878
fi
7979
80-
yarn --cwd ./electron/packager/
81-
yarn --cwd ./electron/packager/ package
80+
yarn --cwd ./electron/packager/ --ignore-engines
81+
yarn --cwd ./electron/packager/ package --ignore-engines
8282
8383
- name: Upload [GitHub Actions]
8484
uses: actions/upload-artifact@v2

‎.github/workflows/check-i18n-task.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
registry-url: 'https://registry.npmjs.org'
3333

3434
- name: Install dependencies
35-
run: yarn
35+
run: yarn --ignore-engines
3636

3737
- name: Check for errors
38-
run: yarn i18n:check
38+
run: yarn i18n:check --ignore-engines

‎.github/workflows/i18n-nightly-push.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
registry-url: 'https://registry.npmjs.org'
2020

2121
- name: Install dependencies
22-
run: yarn
22+
run: yarn --ignore-engines
2323

2424
- name: Run i18n:push script
25-
run: yarn run i18n:push
25+
run: yarn --ignore-engines run i18n:push
2626
env:
2727
TRANSIFEX_ORGANIZATION: ${{ secrets.TRANSIFEX_ORGANIZATION }}
2828
TRANSIFEX_PROJECT: ${{ secrets.TRANSIFEX_PROJECT }}

‎.github/workflows/i18n-weekly-pull.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
registry-url: 'https://registry.npmjs.org'
2020

2121
- name: Install dependencies
22-
run: yarn
22+
run: yarn --ignore-engines
2323

2424
- name: Run i18n:pull script
25-
run: yarn run i18n:pull
25+
run: yarn --ignore-engines run i18n:pull
2626
env:
2727
TRANSIFEX_ORGANIZATION: ${{ secrets.TRANSIFEX_ORGANIZATION }}
2828
TRANSIFEX_PROJECT: ${{ secrets.TRANSIFEX_PROJECT }}

‎electron/packager/index.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@
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

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /