Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
10 changes: 9 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "github-action",
"version": "3.1.0",
"version": "3.1.1",
"description": "",
"main": "dist/index.js",
"scripts": {
Expand Down
10 changes: 9 additions & 1 deletion scripts/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down