Replace npm install with npm ci on CircleCI (#1344)

This commit is contained in:
Juho Nurminen 2020-07-10 17:39:23 +03:00 committed by GitHub
parent 555b359f2d
commit af509dc1ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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