Skip to content

Commit cce54ee

Browse files
committed
ci: usage of npm ci instead of npm install
1 parent 8f30e2e commit cce54ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
node-version: ${{ matrix.node-version }}
2626

27-
- run: 'npm install'
27+
- run: 'npm ci'
2828
- run: 'npm run lint'
2929
- run: 'npm run build'
3030
- run: 'DISABLE_LOGGING=1 npm run cover'

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
node-version: 14
1818
registry-url: 'https://registry.npmjs.org/'
1919

20-
- run: 'npm install'
20+
- run: 'npm ci'
2121
- run: 'npm run build'
2222
- run: 'npm publish'
2323
env:

0 commit comments

Comments
 (0)