ci: use npm ci instead of npm install (#4877)

Use npm ci instead of npm install when installing dependencies in CI.
This commit is contained in:
Constantinos
2020-10-17 16:38:53 +03:00
committed by GitHub
parent 6e4308bfde
commit b8aa967226
3 changed files with 10 additions and 10 deletions

View File

@@ -16,7 +16,7 @@ jobs:
node-version: 12
- name: Install dependencies
run: npm install
run: npm ci
- name: Run ESLint
uses: icrawl/action-eslint@v1
@@ -34,7 +34,7 @@ jobs:
node-version: 12
- name: Install dependencies
run: npm install
run: npm ci
- name: Run TSLint
run: npm run lint:typings
@@ -52,7 +52,7 @@ jobs:
node-version: 12
- name: Install dependencies
run: npm install
run: npm ci
- name: Register Problem Matcher
run: echo "##[add-matcher].github/tsc.json"
@@ -73,7 +73,7 @@ jobs:
node-version: 12
- name: Install dependencies
run: npm install
run: npm ci
- name: Test documentation
run: npm run docs:test