Replace npm install with npm ci on CircleCI (#1344)
This commit is contained in:
parent
555b359f2d
commit
af509dc1ee
|
@ -62,7 +62,7 @@ commands:
|
|||
default: ""
|
||||
steps:
|
||||
- run: apt-get update && apt-get -y install << parameters.apt_opts >>
|
||||
- run: npm install
|
||||
- run: npm ci
|
||||
|
||||
win_make:
|
||||
description: "Run mattermost's makefile.ps1 on ./scripts/"
|
||||
|
@ -289,7 +289,7 @@ jobs:
|
|||
at: ./dist
|
||||
- run:
|
||||
name: Installing npm dependencies
|
||||
command: npm install
|
||||
command: npm ci
|
||||
- build:
|
||||
os: mac
|
||||
path: ./dist/macos-release
|
||||
|
|
|
@ -244,8 +244,8 @@ function Run-BuildChangelog {
|
|||
}
|
||||
|
||||
function Run-BuildElectron {
|
||||
Print-Info "Installing nodejs/electron dependencies (running npm install)..."
|
||||
npm install
|
||||
Print-Info "Installing nodejs/electron dependencies (running npm ci)..."
|
||||
npm ci
|
||||
#npm install --prefix="$(Get-RootDir)" "$(Get-RootDir)"
|
||||
Print-Info "Building nodejs/electron code (running npm run build)..."
|
||||
npm run build
|
||||
|
|
Loading…
Reference in a new issue