Skip to content

Commit f7f6c1b

Browse files
Stick to package-lock.json in actions (#4032)
* ignore in tests * must use package-lock * optional * lint
1 parent 60e66eb commit f7f6c1b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/tools/scripts/run_and_test_website.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ sleep 2
7373
pgrep -if "python main.py"
7474

7575
echo "Installing node modules"
76-
npm install
76+
if [ "$GITHUB_ACTIONS" ]; then
77+
npm ci
78+
else
79+
npm install
80+
fi
7781

7882
echo "Building website"
7983
npm run generate

0 commit comments

Comments
 (0)