From 6ff9026aa9148bda062b54701f58d681f035d766 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Wed, 18 Dec 2024 09:34:56 +0300 Subject: [PATCH] Revert locales changes and remove i18n from Dockerfile --- .github/workflows/ci_cd.yml | 3 +++ frontend/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 74cff36942c..f7754929358 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -165,6 +165,7 @@ jobs: setup_python: false setup_nodejs: ${{ matrix.image == 'frontend' && 'true' || 'false' }} install_recipe: ${{ matrix.image == 'frontend' && 'node-install' || '' }} + locales: ${{ matrix.image == 'frontend' && 'production' || '' }} # Sets build args specifying versions needed to build Docker image. - name: Prepare build args @@ -669,6 +670,7 @@ jobs: with: setup_python: false install_recipe: node-install + locales: "production" - name: Run build run: just frontend/run build @@ -910,6 +912,7 @@ jobs: with: setup_python: false install_recipe: node-install + locales: "test" - name: Run Playwright tests run: just frontend/run ${{ matrix.script }} --workers=2 diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 9fb1f49b131..911cb4a1f52 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -37,7 +37,7 @@ ENV SKIP_PRE_COMMIT=true # Get rid of the lockfile as it won't be accurate for the build without workspace. # Then install dependencies, and in the process: # - fix the missing lockfile by writing a new one -RUN pnpm install && pnpm i18n +RUN pnpm install # disable telemetry when building the app ENV NUXT_TELEMETRY_DISABLED=1