From 81719eea5d36ddafbe9a15085f7f25b0dfddb4bc Mon Sep 17 00:00:00 2001 From: rjawesome Date: Mon, 12 Aug 2024 11:23:42 -0700 Subject: [PATCH] fix: pnpm uses packages in topological order --- .github/workflows/test_ws_codecov.yml | 2 +- package.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_ws_codecov.yml b/.github/workflows/test_ws_codecov.yml index 02d90e3..21ffc51 100644 --- a/.github/workflows/test_ws_codecov.yml +++ b/.github/workflows/test_ws_codecov.yml @@ -32,7 +32,7 @@ jobs: run: | pnpm run clone pnpm run git checkout ${{ steps.branch-name.outputs.current_branch }} - pnpm i || pnpm i + pnpm i pnpm --filter bte-server test-cov - name: Send coverage report to codecov for visualization diff --git a/package.json b/package.json index 7d6ed5a..a289add 100644 --- a/package.json +++ b/package.json @@ -74,11 +74,11 @@ "typescript": "5.2.2" }, "dependencies": { - "@biothings-explorer/query_graph_handler": "workspace:../query_graph_handler", - "@biothings-explorer/smartapi-kg": "workspace:../smartapi-kg", - "@biothings-explorer/types": "workspace:../types", - "@biothings-explorer/utils": "workspace:../utils", - "@biothings-explorer/call-apis": "workspace:../call-apis", + "@biothings-explorer/query_graph_handler": "workspace:*", + "@biothings-explorer/smartapi-kg": "workspace:*", + "@biothings-explorer/types": "workspace:*", + "@biothings-explorer/utils": "workspace:*", + "@biothings-explorer/call-apis": "workspace:*", "@bull-board/api": "^5.9.1", "@bull-board/express": "^5.9.1", "@opentelemetry/api": "^1.7.0",