From a5347636ef39d7ff440f74e3a94c6045de41ed40 Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Thu, 10 Feb 2022 19:56:15 -0800 Subject: [PATCH 1/2] adding prettier to the version bump workflow --- .github/workflows/version-bump.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index f4dbaf0479..c5ccb57c33 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -32,6 +32,9 @@ jobs: version: ${{ github.event.inputs.version_number }} file_path: "./src/manifest.json" + - name: Run Prettier after Version Bump + run: npm run prettier + - name: Commit files run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" From b3496eddb80d0655a34e212cf22416a8bd7dee23 Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Thu, 10 Feb 2022 20:05:32 -0800 Subject: [PATCH 2/2] Switching to only running prettier on the manifest json file --- .github/workflows/version-bump.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index c5ccb57c33..fd7fb92b5f 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -33,7 +33,7 @@ jobs: file_path: "./src/manifest.json" - name: Run Prettier after Version Bump - run: npm run prettier + run: prettier --write ./src/manifest.json - name: Commit files run: |