From b87eb7d6dd51dcbcfa1ddbcb9e156e0b78b72ed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9di-R=C3=A9mi=20Hashim?= Date: Mon, 5 Jul 2021 14:57:59 +0100 Subject: [PATCH 1/2] fix: import src/locales/index.js --- src/app/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/index.js b/src/app/index.js index bcfa909d..7f0cba5b 100644 --- a/src/app/index.js +++ b/src/app/index.js @@ -1,3 +1,4 @@ import { App } from './app.js' +import '../locales/index.js' export default App From cbf4feb9deb1beb2fab3dbc8c322b48f83ff621c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9di-R=C3=A9mi=20Hashim?= Date: Mon, 5 Jul 2021 15:03:32 +0100 Subject: [PATCH 2/2] fix: generate translations before linting --- .github/workflows/dhis2-verify-app.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/dhis2-verify-app.yml b/.github/workflows/dhis2-verify-app.yml index 8a31f3c2..40d64344 100644 --- a/.github/workflows/dhis2-verify-app.yml +++ b/.github/workflows/dhis2-verify-app.yml @@ -49,6 +49,9 @@ jobs: - uses: c-hive/gha-yarn-cache@v1 - run: yarn install --frozen-lockfile + - name: Generate translations + run: yarn d2-app-scripts i18n generate + - name: Lint run: yarn lint