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 cf89e08 commit c7601feCopy full SHA for c7601fe
src/tools/scripts/run_and_test_website.sh
@@ -73,7 +73,7 @@ sleep 2
73
pgrep -if "python main.py"
74
75
echo "Installing node modules"
76
-npm install
+npm ci
77
78
echo "Building website"
79
npm run generate
@@ -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 update-index --assume-unchanged package-lock.json && git status --porcelain)" ]; then
+if [ "${GITHUB_ACTIONS}" ] && [ -n "$(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