From 8164953dfb1a0bd3ddf4d2349d820aa9ce8fbc7c Mon Sep 17 00:00:00 2001 From: Florian Maunier Date: Tue, 7 Nov 2023 09:56:55 +0100 Subject: [PATCH] ci(npm): npm install -> npm ci --- .github/actions/es-lint/action.yml | 2 +- .github/actions/functional-tests/action.yml | 2 +- .github/actions/snippet-tests/action.yml | 2 +- .github/actions/unit-tests/action.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/es-lint/action.yml b/.github/actions/es-lint/action.yml index fbc327ffe..fda93f250 100644 --- a/.github/actions/es-lint/action.yml +++ b/.github/actions/es-lint/action.yml @@ -4,7 +4,7 @@ runs: using: "composite" steps: - name: Install deps - run: npm install + run: npm ci shell: bash - name: Run lint run: npm run test:lint diff --git a/.github/actions/functional-tests/action.yml b/.github/actions/functional-tests/action.yml index 7d25fd512..d0e4a25ac 100644 --- a/.github/actions/functional-tests/action.yml +++ b/.github/actions/functional-tests/action.yml @@ -14,7 +14,7 @@ runs: shell: bash - name: Build Kuzzle run: | - npm install + npm ci npm run build shell: bash - name: Run functional tests diff --git a/.github/actions/snippet-tests/action.yml b/.github/actions/snippet-tests/action.yml index e3f41babe..8d67c070b 100644 --- a/.github/actions/snippet-tests/action.yml +++ b/.github/actions/snippet-tests/action.yml @@ -9,7 +9,7 @@ runs: steps: - name: Build the Stack run: | - npm install + npm ci npm run build shell: bash - run: npm run doc-testing diff --git a/.github/actions/unit-tests/action.yml b/.github/actions/unit-tests/action.yml index d531856f9..b7105332f 100644 --- a/.github/actions/unit-tests/action.yml +++ b/.github/actions/unit-tests/action.yml @@ -5,7 +5,7 @@ runs: steps: - name: Run build run: | - npm install + npm ci npm run build shell: bash - name: Run tests