cache translation compilation action step

This commit is contained in:
Samuel Newman
2025-11-19 14:47:45 +02:00
parent 1565e071c1
commit 3eac554633
7 changed files with 77 additions and 22 deletions
+11 -2
View File
@@ -57,7 +57,9 @@ jobs:
git config --global user.name "github-actions[bot]"
git merge --no-edit $HEAD_REF
yarn install
yarn intl:build
- name: 🔤 Compile translations
uses: ./.github/actions/build-translations
- name: 🔦 Generate stats file for PR
run: |
@@ -81,7 +83,14 @@ jobs:
if: ${{ !steps.get-base-stats.outputs.cache-hit }}
run: |
yarn install
yarn intl:build
- name: 🔤 Compile translations (base)
if: ${{ !steps.get-base-stats.outputs.cache-hit }}
uses: ./.github/actions/build-translations
- name: 🔦 Generate base stats
if: ${{ !steps.get-base-stats.outputs.cache-hit }}
run: |
yarn generate-webpack-stats-file
mv stats.json stats-base.json