Skip to content

Commit cf89e08

Browse files
committed
ignore in tests
1 parent 60e66eb commit cf89e08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/scripts/run_and_test_website.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ npm run test
8787
# If being run in GitHub actions then generating the website should not
8888
# change any Git-tracked files. If it does then it suggests something's
8989
# wrong. Exit
90-
if [ "${GITHUB_ACTIONS}" ] && [ -n "$(git status --porcelain)" ]; then
90+
if [ "${GITHUB_ACTIONS}" ] && [ -n "$(git update-index --assume-unchanged package-lock.json && git status --porcelain)" ]; then
9191
echo "Generating the website produced a different file than is in the branch"
9292
git status
9393
exit 1

0 commit comments

Comments
 (0)