diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0cd5501..8f0786e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,7 @@ jobs: run: npm run build - name: Check build status - run: git diff --exit-code --quiet && echo "No changes were found :)" || { echo -e "Changes found after build.\nPlease run \"npm run build\" and commit the changes in the dist directory."; exit 1; } + run: git diff --exit-code --quiet && echo "No changes were found :)" || { git --no-pager diff; echo -e "Changes found after build.\nPlease run \"npm run build\" and commit the changes in the dist directory."; exit 1; } - name: Test run: npm test