mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
Use npm ci instead; and also ci if package-lock.json changes (#5335)
This commit is contained in:
4
Makefile
4
Makefile
@@ -32,8 +32,8 @@ info: node-installed ## print out some useful variables
|
||||
.PHONY: prereqs
|
||||
prereqs: $(NODE_MODULES)
|
||||
|
||||
$(NODE_MODULES): package.json | node-installed
|
||||
$(NPM) install $(NPM_FLAGS)
|
||||
$(NODE_MODULES): package.json package-lock.json | node-installed
|
||||
$(NPM) clean-install $(NPM_FLAGS)
|
||||
@rm -rf node_modules/.cache/esm/*
|
||||
@touch $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user