Skip to content

Commit

Permalink
[CI] Add i18n Parser Check (#1078)
Browse files Browse the repository at this point in the history
* [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 <[email protected]>
Co-authored-by: Brett <[email protected]>
  • Loading branch information
3 people authored Sep 30, 2024
1 parent 8897409 commit f39c2f2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/translations_parser.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit f39c2f2

Please sign in to comment.