chore: add back BrowserOp, make changes to CI env (#1088)

* chore: add back BrowserOp

* chore: make CI env and not DEV env generate refresh tokens every time

* chore: make 'CI' env var captilization uniform across the app

* chore: change NODE_ENV for playwright to
This commit is contained in:
Danny Avila 2023-10-22 13:50:25 -04:00 committed by GitHub
parent 4073b7d05d
commit 70590251d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 26 additions and 8 deletions

View file

@ -12,7 +12,7 @@ if (!process.stdin.isTTY) {
}
// If we are in CI env, lets exit
if (process.env.NODE_ENV === 'ci') {
if (process.env.NODE_ENV === 'CI') {
console.log('Note: we are in a CI environment, skipping install script.');
exit(0);
}

View file

@ -241,7 +241,7 @@ class Env {
* @returns {Boolean}
*/
isCI() {
return this.currentEnvironment() === 'ci';
return this.currentEnvironment() === 'CI';
}
}