mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 19:50:55 +00:00
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:
parent
6e4308bfde
commit
b8aa967226
3 changed files with 10 additions and 10 deletions
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm ci
|
||||||
|
|
||||||
- name: Build and deploy documentation
|
- name: Build and deploy documentation
|
||||||
uses: discordjs/action-docs@v1
|
uses: discordjs/action-docs@v1
|
||||||
|
|
@ -41,7 +41,7 @@ jobs:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm ci
|
||||||
|
|
||||||
- name: Build and deploy webpack
|
- name: Build and deploy webpack
|
||||||
uses: discordjs/action-webpack@v1
|
uses: discordjs/action-webpack@v1
|
||||||
|
|
|
||||||
8
.github/workflows/test-cron.yml
vendored
8
.github/workflows/test-cron.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm ci
|
||||||
|
|
||||||
- name: Run ESLint
|
- name: Run ESLint
|
||||||
uses: icrawl/action-eslint@v1
|
uses: icrawl/action-eslint@v1
|
||||||
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm ci
|
||||||
|
|
||||||
- name: Run TSLint
|
- name: Run TSLint
|
||||||
run: npm run lint:typings
|
run: npm run lint:typings
|
||||||
|
|
@ -52,7 +52,7 @@ jobs:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm ci
|
||||||
|
|
||||||
- name: Register Problem Matcher
|
- name: Register Problem Matcher
|
||||||
run: echo "##[add-matcher].github/tsc.json"
|
run: echo "##[add-matcher].github/tsc.json"
|
||||||
|
|
@ -73,7 +73,7 @@ jobs:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm ci
|
||||||
|
|
||||||
- name: Test documentation
|
- name: Test documentation
|
||||||
run: npm run docs:test
|
run: npm run docs:test
|
||||||
|
|
|
||||||
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm ci
|
||||||
|
|
||||||
- name: Run ESLint
|
- name: Run ESLint
|
||||||
uses: icrawl/action-eslint@v1
|
uses: icrawl/action-eslint@v1
|
||||||
|
|
@ -32,7 +32,7 @@ jobs:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm ci
|
||||||
|
|
||||||
- name: Run TSLint
|
- name: Run TSLint
|
||||||
run: npm run lint:typings
|
run: npm run lint:typings
|
||||||
|
|
@ -50,7 +50,7 @@ jobs:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm ci
|
||||||
|
|
||||||
- name: Register Problem Matcher
|
- name: Register Problem Matcher
|
||||||
run: echo "##[add-matcher].github/tsc.json"
|
run: echo "##[add-matcher].github/tsc.json"
|
||||||
|
|
@ -71,7 +71,7 @@ jobs:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm ci
|
||||||
|
|
||||||
- name: Test documentation
|
- name: Test documentation
|
||||||
run: npm run docs:test
|
run: npm run docs:test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue