ci(linux): disable remote from non-server build [skip ci]

This commit is contained in:
Baptiste Augrain
2024-02-22 10:13:27 +01:00
parent a6ee6e7e7f
commit 0f31cbabbd
2 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
diff --git a/build/npm/postinstall.js b/build/npm/postinstall.js
index 72dd74f..94d4957 100644
--- a/build/npm/postinstall.js
+++ b/build/npm/postinstall.js
@@ -86,4 +86,3 @@ for (let dir of dirs) {
- if (/^(.build\/distro\/npm\/)?remote/.test(dir) && process.platform === 'win32' && (process.arch === 'arm64' || process.env['npm_config_arch'] === 'arm64')) {
- // windows arm: do not execute `yarn` on remote folder
+ if (/^(.build\/distro\/npm\/)?remote/.test(dir)) {
continue;