From bc65c241edb13650d2004a3ae213948a3feacfe8 Mon Sep 17 00:00:00 2001 From: Leandro Facchinetti Date: Wed, 21 Aug 2019 11:12:54 -0400 Subject: [PATCH] Use npm ci instead of npm install https://docs.npmjs.com/cli/ci.html --- ci/node.js.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/node.js.yml b/ci/node.js.yml index e993f9b..c4f17f9 100644 --- a/ci/node.js.yml +++ b/ci/node.js.yml @@ -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