From bc65c241edb13650d2004a3ae213948a3feacfe8 Mon Sep 17 00:00:00 2001 From: Leandro Facchinetti Date: Wed, 21 Aug 2019 11:12:54 -0400 Subject: [PATCH 1/2] 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 From f761ff73ade87f9ffbdc205495eb9c9dd02898a9 Mon Sep 17 00:00:00 2001 From: Leandro Facchinetti Date: Tue, 8 Oct 2019 09:45:07 -0400 Subject: [PATCH 2/2] Keep the name the same --- ci/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/node.js.yml b/ci/node.js.yml index c4f17f9..408eac6 100644 --- a/ci/node.js.yml +++ b/ci/node.js.yml @@ -17,7 +17,7 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - name: npm ci, build, and test + - name: npm install, build, and test run: | npm ci npm run build --if-present