From 996306e892eb8e97c8cfe8226ee043ae86a8f377 Mon Sep 17 00:00:00 2001 From: Brian Cristante <33549821+brcrista@users.noreply.github.com> Date: Thu, 16 Sep 2021 10:54:26 -0400 Subject: [PATCH] rm __tests__/verify-no-unstaged-changes.sh --- .github/workflows/build-test.yml | 5 +---- __tests__/verify-no-unstaged-changes.sh | 17 ----------------- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100755 __tests__/verify-no-unstaged-changes.sh diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index da4c182e..9a3aa93b 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -26,7 +26,4 @@ jobs: - run: npm ci - run: npm run build - run: npm run format-check - - run: npm test - - name: Verify no unstaged changes - if: runner.os != 'windows' - run: __tests__/verify-no-unstaged-changes.sh + - run: npm test \ No newline at end of file diff --git a/__tests__/verify-no-unstaged-changes.sh b/__tests__/verify-no-unstaged-changes.sh deleted file mode 100755 index f3260e3b..00000000 --- a/__tests__/verify-no-unstaged-changes.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -if [[ "$(git status --porcelain)" != "" ]]; then - echo ---------------------------------------- - echo git status - echo ---------------------------------------- - git status - echo ---------------------------------------- - echo git diff - echo ---------------------------------------- - git diff - echo ---------------------------------------- - echo Troubleshooting - echo ---------------------------------------- - echo "::error::Unstaged changes detected. Locally try running: git clean -ffdx && npm ci && npm run pre-checkin" - exit 1 -fi