semver range (ts-node@^10.9.2) in CI makes installs non-deterministic over time

This commit is contained in:
Rahul R.
2026-01-23 18:16:50 +05:30
parent 91dd20030a
commit 777a03b07d
3 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ aliases:
sudo apt install -y curl gnupg git libappindicator3-1 ca-certificates binutils icnsutils graphicsmagick
python3 -m pip install --break-system-packages packaging setuptools || python3 -m pip install packaging setuptools
sudo npm install --quiet node-gyp@10.2.0 -g
sudo npm install --quiet ts-node@^10.9.2 -g
sudo npm install --quiet ts-node@10.9.2 -g
sudo npm config set python /usr/bin/python
- &install-yarn
@@ -52,7 +52,7 @@ export class DesktopEnvironmentManager {
try {
// Dynamically import the environment file
const environmentPath = path.join('..', '..', this.instance.fileDir, this.instance.fileName);
console.log(`✔ Environment file path: ${filePath}`);
console.log(`✔ Environment file path: ${environmentPath}`);
return require(environmentPath).environment;
} catch (error) {
console.error(`✖ Error loading environment file (${filePath}): ${error.message}`);
-4
View File
@@ -6,10 +6,6 @@ import { AppModule } from './app/app.module';
console.log('Environment Mode:', environment.production ? 'Production' : 'Development');
if (environment.production) {
console.log('Environment Variables:', JSON.stringify(environment, null, 2));
}
if (environment.production) {
enableProdMode();
enableAkitaProdMode();