GitLab's annual major release is around the corner. Along with a lot of new and exciting features, there will be a few breaking changes. Learn more here.

Commit 5dfb67df authored by Kyle Johnson's avatar Kyle Johnson
Browse files

Use npm ci during setup

parent 3ef19692
Pipeline #194745201 failed with stage
in 1 minute and 36 seconds
......@@ -116,7 +116,10 @@ def setup(ctx):
print("Creating node environment.")'nodeenv --python-virtualenv', pty=True)
print("Installing node package.")'npm install', pty=True)
if os.path.exists(os.path.join(current_dir, "package-lock.json")):'npm ci', pty=True)
else:'npm install', pty=True)
print("Building initial assets.")
runwebpack(ctx, debug=True, watch=False)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment