diff --git a/.github/workflows/check_for_crowdin_updates.yml b/.github/workflows/check_for_crowdin_updates.yml index 812b054..c09298a 100644 --- a/.github/workflows/check_for_crowdin_updates.yml +++ b/.github/workflows/check_for_crowdin_updates.yml @@ -123,6 +123,10 @@ jobs: "${{ github.workspace }}/raw_translations" \ "${{ github.workspace }}/desktop/_locales" \ "${{ github.workspace }}/desktop/ts/localization/constants.ts" + + - name: Validate strings for Desktop + run: cd ${{ github.workspace }}/desktop && npm install -g yarn && yarn build:locales + - name: Upload Desktop artifacts uses: actions/upload-artifact@v4 with: diff --git a/actions/checkout_desktop/action.yml b/actions/checkout_desktop/action.yml index e7b8fc3..dc28d7f 100644 --- a/actions/checkout_desktop/action.yml +++ b/actions/checkout_desktop/action.yml @@ -9,6 +9,10 @@ runs: repository: 'session-foundation/session-desktop' path: 'desktop' ref: 'dev' + - uses: actions/setup-node@v4 + with: + node-version-file: 'desktop/.nvmrc' + - name: Remove existing strings shell: bash run: |