From 3231cdcfd8c88ae89b3e45fb4d459c4c1c418986 Mon Sep 17 00:00:00 2001 From: legendecas Date: Mon, 31 Jan 2022 20:54:52 +0800 Subject: [PATCH] test(integration-w3c): fix inconsistent api versions loaded (#2752) --- .github/workflows/w3c-integration-test.yml | 4 ++-- integration-tests/propagation-validation-server/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/w3c-integration-test.yml b/.github/workflows/w3c-integration-test.yml index f00cacf0c1e..356172363d8 100644 --- a/.github/workflows/w3c-integration-test.yml +++ b/.github/workflows/w3c-integration-test.yml @@ -31,13 +31,13 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' run: | npm install --ignore-scripts - npx lerna bootstrap --no-ci --scope=propagation-validation-server --include-dependencies + npx lerna bootstrap --no-ci --hoist --scope=propagation-validation-server --include-dependencies - name: Install and Bootstrap (cache hit) 🔧 if: steps.cache.outputs.cache-hit == 'true' run: | npm ci --ignore-scripts - npx lerna bootstrap --scope=propagation-validation-server --include-dependencies + npx lerna bootstrap --hoist --scope=propagation-validation-server --include-dependencies - name: Generate version.ts files run: lerna run version diff --git a/integration-tests/propagation-validation-server/package.json b/integration-tests/propagation-validation-server/package.json index 03724d2d3be..93617c1a6ef 100644 --- a/integration-tests/propagation-validation-server/package.json +++ b/integration-tests/propagation-validation-server/package.json @@ -11,7 +11,7 @@ "compile": "tsc --build" }, "dependencies": { - "@opentelemetry/api": "^1.0.3", + "@opentelemetry/api": "~1.0.3", "@opentelemetry/context-async-hooks": "1.0.1", "@opentelemetry/core": "1.0.1", "@opentelemetry/sdk-trace-base": "1.0.1",