From 831555bfab92caaf220f0cc7907347900e42408f Mon Sep 17 00:00:00 2001 From: Cam McHenry Date: Mon, 18 Mar 2024 19:33:29 +0000 Subject: [PATCH] Add help instructions --- .github/workflows/check-dist.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index a8b7112..87a0eac 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -45,8 +45,9 @@ jobs: run: | CHANGED_FILES=$(git diff --ignore-space-at-eol --name-only dist/ | grep -vE "$FILES_TO_IGNORE") if [ -n "$CHANGED_FILES" ]; then - echo "Detected uncommitted changes after build (see diff output below)." >&2 + echo "❗️ Detected uncommitted changes after build (see diff output below)." >&2 echo "This indicates that the dist/ directory is out of sync with the checked-in index.js." >&2 + echo "⭐️ If the changes below are expected, run 'npm run build:compile && npm run build:package' and commit the output files." >&2 # Run `git diff` for each line/file in $CHANGED_FILES: echo "$CHANGED_FILES" | xargs -I {} git diff --ignore-space-at-eol --text -- {} exit 1