Skip to content

Commit

Permalink
try cache clean in subarealayer makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
davidclaveau committed Jul 17, 2024
1 parent ae16016 commit cf7f1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arSam/layers/subAreaLayer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf7f1fb

Please sign in to comment.