diff options
-rw-r--r-- | .circleci/config.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 08d355bb5..0cbbaf2e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -104,11 +104,15 @@ jobs: key: dependency-cache-{{ checksum "package-lock.json" }} - run: name: Install deps via npm - command: npm install + command: | + if [ ! -d node_modules ]; then + sudo npm install -g npm@$NPM_VERSION + npm ci + fi - save_cache: key: dependency-cache-{{ checksum "package-lock.json" }} paths: - - ./node_modules + - node_modules prep-deps-firefox: docker: |