Merge pull request #10654 from DestinyItemManager/organizer-updates #272
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: i18n-update | |
on: | |
push: | |
branches: [master] | |
paths: | |
- 'config/i18n.json' | |
- 'src/locale/en.json' | |
jobs: | |
i18n-update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 3 | |
token: ${{ secrets.I18N_PAT }} | |
- uses: pnpm/action-setup@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: pnpm | |
- name: Install | |
run: pnpm install --frozen-lockfile --prefer-offline | |
- name: pnpm i18n | |
run: pnpm i18n | |
- name: Commit files | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Apply i18n updates |