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