From f39c2f25082b0a75d215ef3378641eb597503d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Fearn?= <26871415+flavioislima@users.noreply.github.com> Date: Mon, 30 Sep 2024 21:30:33 +0100 Subject: [PATCH] [CI] Add i18n Parser Check (#1078) * [CI] Add i18n Parser Check * fix: update i18n keys * fix: use reusable workflows * fix: add personal access token to translations parser workflow * fix: yarn command * chore: try without recursive * Trigger build * Trigger build 2 --------- Co-authored-by: Flavio F Lima Co-authored-by: Brett <27568879+BrettCleary@users.noreply.github.com> --- .github/workflows/translations_parser.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/translations_parser.yml diff --git a/.github/workflows/translations_parser.yml b/.github/workflows/translations_parser.yml new file mode 100644 index 000000000..3bd24e4be --- /dev/null +++ b/.github/workflows/translations_parser.yml @@ -0,0 +1,21 @@ +name: i18n Parser + +on: + pull_request: + branches: [main] + workflow_dispatch: + +jobs: + i18n_parser: + uses: HyperPlay-Gaming/workflows/.github/workflows/nodejs_commands.yml@main + with: + node_version: '20' + pkg_manager: 'yarn' + install: 'yarn setup' + name: 'i18n parser' + command_one: 'yarn i18n --fail-on-update' + command_one_name: 'i18n parser' + checkout_recursive: false + secrets: + NPM_TOKEN: '${{ secrets.NPM_TOKEN }}' + pat: ${{ secrets.pat }}