gh: run localization build on merge to main

This commit is contained in:
sua yoo 2024-11-11 14:12:45 -08:00
parent e4b5173fdc
commit 3493067d92
No known key found for this signature in database
GPG Key ID: 5AD1B4C02D4F0567

View File

@ -1,9 +1,10 @@
name: Frontend Localization Build
on:
pull_request:
push:
branches:
- main
paths:
- 'frontend/xliff/*.xlf'
workflow_dispatch:
jobs:
setup-and-build-translation:
@ -19,6 +20,8 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
sparse-checkout: |
frontend
- name: Setup Node
uses: actions/setup-node@v4
with: