From 1c1319927e0bb44eaea7475848864b3c4669fe22 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 1 Jan 2023 23:36:14 +0100 Subject: [PATCH] web: ensure locales are built for tsc check Signed-off-by: Jens Langhammer --- .github/workflows/ci-web.yml | 1 + web/package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-web.yml b/.github/workflows/ci-web.yml index 8cfe89335..cbc78a8ea 100644 --- a/.github/workflows/ci-web.yml +++ b/.github/workflows/ci-web.yml @@ -85,6 +85,7 @@ jobs: - lint-eslint - lint-prettier - lint-lit-analyse + - lint-build runs-on: ubuntu-latest steps: - run: echo mark diff --git a/web/package.json b/web/package.json index 6613807f9..38878fcd2 100644 --- a/web/package.json +++ b/web/package.json @@ -12,7 +12,7 @@ "lit-analyse": "lit-analyzer src", "prettier-check": "prettier --check .", "prettier": "prettier --write .", - "tsc": "tsc --strict --noEmit", + "tsc": "lingui compile && tsc --strict --noEmit", "background-image": "npx @squoosh/cli -d src/assets/images --resize '{\"enabled\":true,\"width\":2560,\"method\":\"lanczos3\",\"fitMethod\":\"contain\",\"premultiply\":true,\"linearRGB\":true}' --mozjpeg '{\"quality\":75,\"baseline\":false,\"arithmetic\":false,\"progressive\":true,\"optimize_coding\":true,\"smoothing\":0,\"color_space\":3,\"quant_table\":3,\"trellis_multipass\":false,\"trellis_opt_zero\":false,\"trellis_opt_table\":false,\"trellis_loops\":1,\"auto_subsample\":true,\"chroma_subsample\":2,\"separate_chroma_quality\":false,\"chroma_quality\":75}' src/assets/images/flow_background.jpg" }, "lingui": {