Use npm ci instead of npm install

https://docs.npmjs.com/cli/ci.html
This commit is contained in:
Leandro Facchinetti
2019-08-21 11:12:54 -04:00
committed by GitHub
parent b32cad54d6
commit bc65c241ed
+2 -2
View File
@@ -17,8 +17,8 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
- name: npm ci, build, and test
run: |
npm install
npm ci
npm run build --if-present
npm test