From 70a1af86e50da862d70f2d51df50a371bce73769 Mon Sep 17 00:00:00 2001 From: Opportunity Date: Tue, 7 Jul 2020 21:15:35 +0800 Subject: [PATCH] remove node_modules in diff --- .github/workflows/checkin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkin.yml b/.github/workflows/checkin.yml index a48b624..e87d95e 100644 --- a/.github/workflows/checkin.yml +++ b/.github/workflows/checkin.yml @@ -22,7 +22,7 @@ jobs: # Ensure no changes run: | git add . - if ! git diff --cached --color=always --exit-code; then + if ! git diff --cached --color=always --exit-code -- . ':!node_modules'; then echo "::error::Found changed files after build. Please run 'yarn release' and check in all changes." exit 1 fi \ No newline at end of file