From c74511e5d51603ed036ca4d4b334e513f45cd5fb Mon Sep 17 00:00:00 2001 From: Chris Garrity Date: Thu, 28 May 2020 07:35:58 -0400 Subject: [PATCH] install node-modules for cron workflows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The jobs that don’t run the build and test job (scheduled jobs) need to install the node modules because they’re not already in the workspace. The `node/install-packages` command from the node orb will use cached modules if available. --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 95f485bd..9af47e0c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,6 +45,7 @@ jobs: <<: *defaults steps: - checkout + - node/install-packages - run: name: "pull editor and www translations" command: | @@ -73,6 +74,7 @@ jobs: <<: *defaults steps: - checkout + - node/install-packages - run: npm run sync:help workflows: version: 2