We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60e66eb commit cf89e08Copy full SHA for cf89e08
src/tools/scripts/run_and_test_website.sh
@@ -87,7 +87,7 @@ npm run test
87
# If being run in GitHub actions then generating the website should not
88
# change any Git-tracked files. If it does then it suggests something's
89
# wrong. Exit
90
-if [ "${GITHUB_ACTIONS}" ] && [ -n "$(git status --porcelain)" ]; then
+if [ "${GITHUB_ACTIONS}" ] && [ -n "$(git update-index --assume-unchanged package-lock.json && git status --porcelain)" ]; then
91
echo "Generating the website produced a different file than is in the branch"
92
git status
93
exit 1
0 commit comments