gh: run localization build on merge to main
This commit is contained in:
parent
e4b5173fdc
commit
3493067d92
@ -1,9 +1,10 @@
|
|||||||
name: Frontend Localization Build
|
name: Frontend Localization Build
|
||||||
on:
|
on:
|
||||||
pull_request:
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
paths:
|
paths:
|
||||||
- 'frontend/xliff/*.xlf'
|
- 'frontend/xliff/*.xlf'
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup-and-build-translation:
|
setup-and-build-translation:
|
||||||
@ -19,6 +20,8 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
|
sparse-checkout: |
|
||||||
|
frontend
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user