Skip to content

Commit e51a367

Browse files
committed
ci: use npm ci for installing dependencies
1 parent 0431441 commit e51a367

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
node-version: '14.15'
1616
registry-url: 'https://registry.npmjs.org'
1717
cache: 'npm'
18-
- run: npm install
18+
- run: npm ci
1919
- run: npm run build
2020
- run: npm publish ./dist/angular-google-charts
2121
env:

.github/workflows/test-and-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
node-version: '14.15'
1717
cache: 'npm'
18-
- run: npm install
18+
- run: npm ci
1919
- run: npm run build
2020
- name: Run tests
2121
run: npm run test -- --ci --coverage --reporters default --reporters jest-junit

0 commit comments

Comments
 (0)