mirror of
https://github.com/ever-co/ever-gauzy.git
synced 2026-10-02 01:54:50 +08:00
semver range (ts-node@^10.9.2) in CI makes installs non-deterministic over time
This commit is contained in:
@@ -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}`);
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user