From d4b500b5f152386176d8cfefa760a455291a09f6 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 11 May 2021 00:01:27 +0200 Subject: [PATCH] Speedup workflows with npm ci instead of npm install --- .github/workflows/pull_request_check.yml | 2 +- .github/workflows/theme_validation.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request_check.yml b/.github/workflows/pull_request_check.yml index 98924bda14..7017d6eb17 100644 --- a/.github/workflows/pull_request_check.yml +++ b/.github/workflows/pull_request_check.yml @@ -16,7 +16,7 @@ jobs: ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' - name: install deps - run: npm install + run: npm ci - name: create generated dir run: mkdir ./assets/generated diff --git a/.github/workflows/theme_validation.yml b/.github/workflows/theme_validation.yml index 6de6e1cb22..d314341477 100644 --- a/.github/workflows/theme_validation.yml +++ b/.github/workflows/theme_validation.yml @@ -16,7 +16,7 @@ jobs: ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' - name: install deps - run: npm install + run: npm ci - name: create generated dir run: mkdir ./assets/generated