From cf7f1fb8f3cd2e6cdb8940e1ad9c8af80173d8e9 Mon Sep 17 00:00:00 2001 From: David <62899351+davidclaveau@users.noreply.github.com> Date: Wed, 17 Jul 2024 13:45:09 -0700 Subject: [PATCH] try cache clean in subarealayer makefile --- arSam/layers/subAreaLayer/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arSam/layers/subAreaLayer/Makefile b/arSam/layers/subAreaLayer/Makefile index 9513fc7..29daf3d 100644 --- a/arSam/layers/subAreaLayer/Makefile +++ b/arSam/layers/subAreaLayer/Makefile @@ -4,7 +4,7 @@ build-SubAreaLayer: # remove makefile in artifacts directory rm "$(ARTIFACTS_DIR)/Makefile" # install dependencies in artifacts directory - cd nodejs && yarn install --ignore-scripts --frozen-lockfile --modules-folder "$(ARTIFACTS_DIR)/nodejs/node_modules" + cd nodejs && yarn cache clean && yarn --update-checksums && yarn install --ignore-scripts --frozen-lockfile --modules-folder "$(ARTIFACTS_DIR)/nodejs/node_modules" # symlink to node_modules folder for testing purposes cd "$(ARTIFACTS_DIR)" && ln -s "$(ARTIFACTS_DIR)"/nodejs/node_modules node_modules # remove package.json to avoid rebuilding when changes don't relate to dependencies