diff --git a/.circleci/config.yml b/.circleci/config.yml index c4261828d55..ca009b0fb11 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,24 +31,24 @@ node_unit_tests: &node_unit_tests echo "CIRCLE_NODE_VERSION=${CIRCLE_NODE_VERSION}" - restore_cache: keys: - - npm-cache-1-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} + - npm-cache-01-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} - restore_cache: keys: - - npm-cache-2-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} + - npm-cache-02-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} - restore_cache: keys: - - npm-cache-3-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} + - npm-cache-03-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} - restore_cache: keys: - - npm-cache-4-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} + - npm-cache-04-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} - restore_cache: keys: - - npm-cache-5-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} + - npm-cache-05-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} - run: name: Install Dependencies command: yarn install - save_cache: - key: npm-cache-1-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} + key: npm-cache-01-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} paths: - ./node_modules - ./yarn.lock @@ -61,7 +61,7 @@ node_unit_tests: &node_unit_tests - packages/opentelemetry-metrics/node_modules - packages/opentelemetry-tracing/node_modules - save_cache: - key: npm-cache-2-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} + key: npm-cache-02-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} paths: - packages/opentelemetry-exporter-jaeger/node_modules - packages/opentelemetry-exporter-zipkin/node_modules @@ -74,7 +74,7 @@ node_unit_tests: &node_unit_tests - packages/opentelemetry-plugin-http2/node_modules - packages/opentelemetry-plugin-mongodb/node_modules - save_cache: - key: npm-cache-3-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} + key: npm-cache-03-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} paths: - packages/opentelemetry-plugin-redis/node_modules - packages/opentelemetry-plugin-postgres/opentelemetry-plugin-pg/node_modules @@ -87,7 +87,7 @@ node_unit_tests: &node_unit_tests - packages/opentelemetry-scope-async-hooks/yarn.lock - packages/opentelemetry-core/yarn.lock - save_cache: - key: npm-cache-4-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} + key: npm-cache-04-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} paths: - packages/opentelemetry-exporter-prometheus/yarn.lock - packages/opentelemetry-metrics/yarn.lock @@ -100,7 +100,7 @@ node_unit_tests: &node_unit_tests - packages/opentelemetry-plugin-dns/yarn.lock - packages/opentelemetry-plugin-grpc/yarn.lock - save_cache: - key: npm-cache-5-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} + key: npm-cache-05-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/checksums.txt" }} paths: - packages/opentelemetry-plugin-http/yarn.lock - packages/opentelemetry-plugin-http2/yarn.lock