A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
ci: set proper env when doing yarn debug
thecodrr59fa56cf47c6
diff --git a/apps/web/.env-cmdrc.js b/apps/web/.env-cmdrc.jsindex e4ce4fa91..59590e215 100644--- a/apps/web/.env-cmdrc.js+++ b/apps/web/.env-cmdrc.js@@ -11,6 +11,9 @@ module.exports = {web: {REACT_APP_PLATFORM: "web",},+ silent: {+ BROWSER: "none",+ },desktop: {BROWSER: "none",REACT_APP_PLATFORM: "desktop",diff --git a/apps/web/jest-playwright.config.js b/apps/web/jest-playwright.config.jsindex 2318b684a..e4e3f99e0 100644--- a/apps/web/jest-playwright.config.js+++ b/apps/web/jest-playwright.config.js@@ -1,4 +1,4 @@-const IS_CI = true; // !!process.env.CI;+const IS_CI = !!process.env.CI;module.exports = {launchOptions: {@@ -8,9 +8,6 @@ module.exports = {serverOptions: {command: `yarn debug`,port: 3000,- launchTimeout: 10000,- debug: true,},browsers: IS_CI ? ["chromium", "firefox", "webkit"] : ["firefox"],- devices: [],};diff --git a/apps/web/package.json b/apps/web/package.jsonindex 36b15b7c5..f554058cf 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -74,7 +74,7 @@"build": "env-cmd -e all,web react-scripts build","build:desktop": "env-cmd -e all,desktop react-scripts build","deploy": "./scripts/deploy.sh",- "debug": "BROWSER=none react-scripts start",+ "debug": "env-cmd -e all,dev,web,silent react-scripts start","test": "REACT_APP_CI=true BROWSER= jest --runInBand -c jest.e2e.config.js","test:debug": "PWDEBUG=1 REACT_APP_CI=true BROWSER= jest --runInBand -c jest.e2e.config.js","eject": "react-scripts eject",