Skip to content

Commit a11643f

Browse files
Use npm ci instead of npm install (#132)
* Use `npm ci` instead of `npm install` * Fixed CI
1 parent 2262039 commit a11643f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/GHPages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-node@v2
1313
- name: Install Packages
14-
run: npm install
14+
run: npm ci
1515
- name: Build docs
1616
run: npm run docs:build
1717
- name: Deploy

.github/workflows/NodeCI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
node-version: 14
1717
- name: Install Packages
18-
run: npm install
18+
run: npm ci
1919
- name: Build
2020
run: npm run build
2121
- name: Lint
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
node-version: ${{ matrix.node-version }}
3434
- name: Install Packages
35-
run: npm install
35+
run: npm ci
3636
- name: Test
3737
run: npm test
3838
test-with-eslint6:
@@ -55,7 +55,7 @@ jobs:
5555
- uses: actions/checkout@v2
5656
- uses: actions/setup-node@v2
5757
- name: Install Packages
58-
run: npm install
58+
run: npm ci
5959
- name: Test
6060
run: npm run test:nyc
6161
- name: Coveralls GitHub Action

.github/workflows/NpmPublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
registry-url: "https://registry.npmjs.org"
1717
- name: Install Packages
18-
run: npm install
18+
run: npm ci
1919
- name: test
2020
run: npm run test
2121
- name: check can npm-publish

0 commit comments

Comments
 (0)