mirror of
https://github.com/dnote/dnote
synced 2026-03-14 14:35:50 +01:00
Speed up ci (#451)
This commit is contained in:
parent
96d3c50780
commit
ae8531fe11
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
|
@ -29,10 +29,10 @@ endif
|
|||
@echo "==> installing js dependencies"
|
||||
|
||||
ifeq ($(CI), true)
|
||||
@(cd ${currentDir} && npm install --unsafe-perm=true)
|
||||
@(cd ${currentDir}/web && npm install --unsafe-perm=true)
|
||||
@(cd ${currentDir}/browser && npm install --unsafe-perm=true)
|
||||
@(cd ${currentDir}/jslib && npm install --unsafe-perm=true)
|
||||
@(cd ${currentDir} && npm ci --cache $(NPM_CACHE_DIR) --prefer-offline --unsafe-perm=true)
|
||||
@(cd ${currentDir}/web && npm ci --cache $(NPM_CACHE_DIR) --prefer-offline --unsafe-perm=true)
|
||||
@(cd ${currentDir}/browser && npm ci --cache $(NPM_CACHE_DIR) --prefer-offline --unsafe-perm=true)
|
||||
@(cd ${currentDir}/jslib && npm ci --cache $(NPM_CACHE_DIR) --prefer-offline --unsafe-perm=true)
|
||||
else
|
||||
@(cd ${currentDir} && npm install)
|
||||
@(cd ${currentDir}/web && npm install)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue