From 42d97fa4636a9234ccd0cc3b05cea2502d49ff20 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Thu, 22 Feb 2024 13:39:11 -0300 Subject: [PATCH] Install node-gyp before running yarn --- .circleci/config.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2982cfea6..437b09ac4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,14 +19,16 @@ android-env: &android-env install-npm-modules: &install-npm-modules name: Install NPM modules - command: yarn + command: | + yarn global add node-gyp + yarn restore-npm-cache-linux: &restore-npm-cache-linux name: Restore NPM cache - key: node-modules-{{ checksum "yarn.lock" }} + key: node-modules-v99-{{ checksum "yarn.lock" }} save-npm-cache-linux: &save-npm-cache-linux - key: node-modules-{{ checksum "yarn.lock" }} + key: node-modules-v99-{{ checksum "yarn.lock" }} name: Save NPM cache paths: - ./node_modules