From a9248ea642518a7079eadf8843669de8f047cd94 Mon Sep 17 00:00:00 2001
From: nmanu1 <nmanu@yext.com>
Date: Mon, 30 Oct 2023 15:31:14 -0400
Subject: [PATCH] v0.27.0

should check linting too
---
 .github/workflows/release.yml | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 52f8d2d09..864b5e1ef 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -52,17 +52,21 @@ jobs:
           echo "Error running the bump-version.mjs script."
           cat temp-bump-versions.txt
           exit 1
-      # - uses: ./.github/setup-ci
-      # - name: check linting
-      #   run: |
-      #     npm run autofix
-      #     if git diff --exit-code
-      #       exit 0
-      #     fi
-      #     echo "Found unexpected git diff from running `npm run autofix`."
-      #     exit 1
-      # - name: run tests
-      #   uses: ./.github/workflows/run-tests.yml
+
+  check-linting:
+    needs: check-for-release
+    if: needs.check-for-release.outputs.status == 'success'
+    steps:
+      - uses: actions/checkout@v3
+      - uses: ./.github/setup-ci
+      - name: check linting
+        run: |
+          npm run autofix
+          if git diff --exit-code
+            exit 0
+          fi
+          echo "Found unexpected git diff from running `npm run autofix`."
+          exit 1
     
   run-tests:
     needs: check-for-release