From 6114017200c83a494b5e86fa58b4a92cd4857718 Mon Sep 17 00:00:00 2001 From: Joe Karow <58997957+JoeKarow@users.noreply.github.com> Date: Wed, 10 Jan 2024 18:48:00 -0500 Subject: [PATCH] create job summary --- .github/workflows/crowdin.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml index 9e84da6d27..ab36abd77f 100644 --- a/.github/workflows/crowdin.yml +++ b/.github/workflows/crowdin.yml @@ -101,16 +101,20 @@ jobs: - name: Format json files if: ((github.event_name != 'pull_request' && github.ref_name == 'dev') || github.event_name == 'scheduled') && steps.verify-changed-files.outputs.files_changed - # working-directory: apps/app + working-directory: apps/app id: run-prettier - run: prettier --write --ignore-unknown ${{steps.verify-changed-files.outputs.changed_files}} + run: | + echo 'Installing package dependencies' + pnpm install + echo 'Running prettier' + pnpm format - name: Get files to commit if: steps.run-prettier.conclusion == 'success' uses: tj-actions/verify-changed-files@b742fc9c8c613945ae7ee756f8d2bb3bd2d1f7dd # v17 id: get-pending-files with: - files: '**/locales/*/*.json' + files: 'apps/app/**/locales/*/*.json' separator:
- name: Commit files