From 902074022a23859f7cc612080f1d08c7204acb01 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Fri, 10 May 2024 22:18:21 +0530 Subject: [PATCH] ff This reverts commit 6568cb19a933545b3040ef9cc3ec416c4a95acce. --- .github/workflows/desktop-lint.yml | 3 +-- .github/workflows/docs-deploy.yml | 2 +- .github/workflows/docs-verify-build.yml | 2 +- .github/workflows/web-deploy-one.yml | 2 +- .github/workflows/web-deploy-preview.yml | 2 +- .github/workflows/web-deploy-staff.yml | 2 +- .github/workflows/web-deploy-staging.yml | 2 +- .github/workflows/web-deploy.yml | 2 +- .github/workflows/web-lint.yml | 3 +-- desktop/.github/workflows/desktop-release.yml | 2 +- web/apps/accounts/.env | 1 + web/apps/auth/.env | 1 + web/apps/cast/.env | 1 + web/apps/payments/.env | 1 + web/apps/photos/.env | 2 ++ 15 files changed, 16 insertions(+), 12 deletions(-) create mode 100644 web/apps/accounts/.env create mode 100644 web/apps/auth/.env create mode 100644 web/apps/cast/.env create mode 100644 web/apps/payments/.env diff --git a/.github/workflows/desktop-lint.yml b/.github/workflows/desktop-lint.yml index 372139b6f5..d1cfda884d 100644 --- a/.github/workflows/desktop-lint.yml +++ b/.github/workflows/desktop-lint.yml @@ -25,7 +25,6 @@ jobs: cache: "yarn" cache-dependency-path: "desktop/yarn.lock" - - name: Install dependencies - run: yarn install && yarn run next telemetry disable + - run: yarn install - run: yarn lint diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index 56b137cf0a..b824fe5c32 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -30,7 +30,7 @@ jobs: cache-dependency-path: "docs/yarn.lock" - name: Install dependencies - run: yarn install && yarn run next telemetry disable + run: yarn install - name: Build production site # Will create docs/.vitepress/dist diff --git a/.github/workflows/docs-verify-build.yml b/.github/workflows/docs-verify-build.yml index 63bca307af..addb52a059 100644 --- a/.github/workflows/docs-verify-build.yml +++ b/.github/workflows/docs-verify-build.yml @@ -31,7 +31,7 @@ jobs: cache-dependency-path: "docs/yarn.lock" - name: Install dependencies - run: yarn install && yarn run next telemetry disable + run: yarn install - name: Build production site run: yarn build diff --git a/.github/workflows/web-deploy-one.yml b/.github/workflows/web-deploy-one.yml index eceefe5864..77c338513d 100644 --- a/.github/workflows/web-deploy-one.yml +++ b/.github/workflows/web-deploy-one.yml @@ -37,7 +37,7 @@ jobs: cache-dependency-path: "web/yarn.lock" - name: Install dependencies - run: yarn install && yarn run next telemetry disable + run: yarn install - name: Build ${{ inputs.app }} run: yarn build:${{ inputs.app }} diff --git a/.github/workflows/web-deploy-preview.yml b/.github/workflows/web-deploy-preview.yml index 4e7f412922..4bb1870726 100644 --- a/.github/workflows/web-deploy-preview.yml +++ b/.github/workflows/web-deploy-preview.yml @@ -37,7 +37,7 @@ jobs: cache-dependency-path: "web/yarn.lock" - name: Install dependencies - run: yarn install && yarn run next telemetry disable + run: yarn install - name: Build ${{ inputs.app }} run: yarn build:${{ inputs.app }} diff --git a/.github/workflows/web-deploy-staff.yml b/.github/workflows/web-deploy-staff.yml index 4bf1eaea90..854e163644 100644 --- a/.github/workflows/web-deploy-staff.yml +++ b/.github/workflows/web-deploy-staff.yml @@ -32,7 +32,7 @@ jobs: cache-dependency-path: "web/yarn.lock" - name: Install dependencies - run: yarn install && yarn run next telemetry disable + run: yarn install - name: Build staff run: yarn build:staff diff --git a/.github/workflows/web-deploy-staging.yml b/.github/workflows/web-deploy-staging.yml index c31e4f42a5..ca3a6142b2 100644 --- a/.github/workflows/web-deploy-staging.yml +++ b/.github/workflows/web-deploy-staging.yml @@ -31,7 +31,7 @@ jobs: cache-dependency-path: "web/yarn.lock" - name: Install dependencies - run: yarn install && yarn run next telemetry disable + run: yarn install - name: Build photos run: yarn build:photos diff --git a/.github/workflows/web-deploy.yml b/.github/workflows/web-deploy.yml index 819d4485b2..7427893af5 100644 --- a/.github/workflows/web-deploy.yml +++ b/.github/workflows/web-deploy.yml @@ -41,7 +41,7 @@ jobs: cache-dependency-path: "web/yarn.lock" - name: Install dependencies - run: yarn install && yarn run next telemetry disable + run: yarn install - name: Build photos run: yarn build:photos diff --git a/.github/workflows/web-lint.yml b/.github/workflows/web-lint.yml index ccfd477508..7f5d270029 100644 --- a/.github/workflows/web-lint.yml +++ b/.github/workflows/web-lint.yml @@ -25,7 +25,6 @@ jobs: cache: "yarn" cache-dependency-path: "web/yarn.lock" - - name: Install dependencies - run: yarn install && yarn run next telemetry disable + - run: yarn install - run: yarn lint diff --git a/desktop/.github/workflows/desktop-release.yml b/desktop/.github/workflows/desktop-release.yml index 7eeea25d2c..70eedf3ea6 100644 --- a/desktop/.github/workflows/desktop-release.yml +++ b/desktop/.github/workflows/desktop-release.yml @@ -46,7 +46,7 @@ jobs: run: yarn config set network-timeout 900000 -g - name: Install dependencies - run: yarn install && yarn run next telemetry disable + run: yarn install - name: Install libarchive-tools for pacman build if: startsWith(matrix.os, 'ubuntu') diff --git a/web/apps/accounts/.env b/web/apps/accounts/.env new file mode 100644 index 0000000000..3f3b1cc9ae --- /dev/null +++ b/web/apps/accounts/.env @@ -0,0 +1 @@ +NEXT_TELEMETRY_DISABLED = 1 diff --git a/web/apps/auth/.env b/web/apps/auth/.env new file mode 100644 index 0000000000..3f3b1cc9ae --- /dev/null +++ b/web/apps/auth/.env @@ -0,0 +1 @@ +NEXT_TELEMETRY_DISABLED = 1 diff --git a/web/apps/cast/.env b/web/apps/cast/.env new file mode 100644 index 0000000000..3f3b1cc9ae --- /dev/null +++ b/web/apps/cast/.env @@ -0,0 +1 @@ +NEXT_TELEMETRY_DISABLED = 1 diff --git a/web/apps/payments/.env b/web/apps/payments/.env new file mode 100644 index 0000000000..3f3b1cc9ae --- /dev/null +++ b/web/apps/payments/.env @@ -0,0 +1 @@ +NEXT_TELEMETRY_DISABLED = 1 diff --git a/web/apps/photos/.env b/web/apps/photos/.env index a039e91055..978c677769 100644 --- a/web/apps/photos/.env +++ b/web/apps/photos/.env @@ -88,3 +88,5 @@ # NEXT_PUBLIC_ENTE_TEST_EXPECTED_JSON=`cat path/to/expected.json` yarn dev # # NEXT_PUBLIC_ENTE_TEST_EXPECTED_JSON = {} + +NEXT_TELEMETRY_DISABLED = 1