From 24f029e277d379b6cd680f0a882936a55715615a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Andrei?= Date: Mon, 24 Jun 2024 16:09:10 -0300 Subject: [PATCH] Fix i18n --- .github/workflows/frontend.yml | 10 +++++----- frontend/Makefile | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index c292f3d..2b4d8a9 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -70,16 +70,16 @@ jobs: if: ${{ success() || failure() }} run: make lint - - name: i18n sync - id: i18n - if: ${{ success() || failure() }} - run: make ci-i18n - - name: Unit Tests id: unit if: ${{ success() || failure() }} run: make test + - name: i18n sync + id: i18n + if: ${{ success() || failure() }} + run: make ci-i18n + - name: Report if: ${{ success() || failure() }} run: | diff --git a/frontend/Makefile b/frontend/Makefile index c6e0757..6b575cd 100644 --- a/frontend/Makefile +++ b/frontend/Makefile @@ -58,7 +58,7 @@ i18n: ## Sync i18n .PHONY: ci-i18n ci-i18n: ## Check if i18n is not synced - pnpm --filter $(ADDON_NAME) i18n && git diff -G'^[^\"POT]' --exit-code + pnpm --filter $(ADDON_NAME) i18n && git diff --exit-code -- packages '*.pot' '*.po' .PHONY: format format: ## Format codebase