diff --git a/.circleci/config.yml b/.circleci/config.yml index 58ce4371691..c4cd4db6ccc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,8 +8,11 @@ commands: type: string steps: - run: - name: Combine package-lock.json files to single file - command: ls -d -- packages/*/*-lock.json | awk -F packages '{printf "\"packages%s\" ", $2}' | xargs cat > << parameters.filename >> + name: Combine package-lock.json files to single file and also adds a random value at the end to cache bust if needed + command: | + ls -d -- packages/*/*-lock.json | awk -F packages '{printf "\"packages%s\" ", $2}' | xargs cat > << parameters.filename >> + echo cache-bust-v1 >> <> + create_concatenated_patch_file: description: "Concatenate all patch-files recognized by lerna.js into single file. File is used as checksum source for part of caching key." parameters: diff --git a/.circleci/src/commands/@commands.yml b/.circleci/src/commands/@commands.yml index 24e615d5058..f205ce844c5 100644 --- a/.circleci/src/commands/@commands.yml +++ b/.circleci/src/commands/@commands.yml @@ -5,8 +5,10 @@ create_concatenated_package_lock: type: string steps: - run: - name: Combine package-lock.json files to single file - command: ls -d -- packages/*/*-lock.json | awk -F packages '{printf "\"packages%s\" ", $2}' | xargs cat > << parameters.filename >> + name: Combine package-lock.json files to single file and also adds a random value at the end to cache bust if needed + command: | + ls -d -- packages/*/*-lock.json | awk -F packages '{printf "\"packages%s\" ", $2}' | xargs cat > << parameters.filename >> + echo cache-bust-v1 >> <> create_concatenated_patch_file: description: "Concatenate all patch-files recognized by lerna.js into single file. File is used as checksum source for part of caching key."