diff --git a/action.yml b/action.yml index b4303c0..7df33b5 100644 --- a/action.yml +++ b/action.yml @@ -74,7 +74,7 @@ runs: if: env.IS_CONTAINER == 'false' uses: actions/setup-node@v4 with: - node-version: '22.14' + node-version: '22.22' - name: Install pnpm if: inputs.cache == 'true' diff --git a/dist/index.js b/dist/index.js index aec4379..f2fd872 100644 --- a/dist/index.js +++ b/dist/index.js @@ -27720,7 +27720,15 @@ const run = (wsdir, skipDepsInstall, skipBitInstall, args) => __awaiter(void 0, core.warning(`WARNING - Bit version ${installedBitVersion} is already installed, however workspace requires the version ${bitEngineVersion}. Installing version ${bitEngineVersion}. This may increase the overall build time.`); } yield (0, exec_1.exec)("npm", ["i", "-g", "@teambit/bvm"]); - yield (0, exec_1.exec)("bvm", ["install", bitEngineVersion, "--use-system-node"]); + // Skip bvm's post-install update check (a network call that hangs on egress-restricted + // runners) and its shell-profile PATH edit (a no-op in CI, where profiles aren't sourced). + yield (0, exec_1.exec)("bvm", [ + "install", + bitEngineVersion, + "--use-system-node", + "--skip-update-check", + "--skip-update-path", + ]); } // sets path for current step process.env.PATH = `${process.env.HOME}/bin:` + process.env.PATH; diff --git a/package.json b/package.json index 1673ac6..1a4265e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "github-action", - "version": "3.1.0", + "version": "3.1.1", "description": "", "main": "dist/index.js", "scripts": { diff --git a/scripts/init.ts b/scripts/init.ts index ee13947..de17a5e 100644 --- a/scripts/init.ts +++ b/scripts/init.ts @@ -74,7 +74,15 @@ const run = async ( ); } await exec("npm", ["i", "-g", "@teambit/bvm"]); - await exec("bvm", ["install", bitEngineVersion, "--use-system-node"]); + // Skip bvm's post-install update check (a network call that hangs on egress-restricted + // runners) and its shell-profile PATH edit (a no-op in CI, where profiles aren't sourced). + await exec("bvm", [ + "install", + bitEngineVersion, + "--use-system-node", + "--skip-update-check", + "--skip-update-path", + ]); } // sets path for current step