From a96dcbb21f6de19ede305f2fa363514420b56dea Mon Sep 17 00:00:00 2001 From: "dayuan.jiang" Date: Sun, 11 Oct 2026 15:40:28 +0900 Subject: [PATCH] ci: create the tarball directory before npm pack npm pack does not create its --pack-destination; on a fresh runner the step failed with ENOENT before the packed shell tests ran. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 52079d7e..1c2d7284 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -103,8 +103,8 @@ jobs: run: | npm --prefix packages/mcp-server ci npm --prefix packages/mcp-server run build + mkdir -p "$RUNNER_TEMP/mcp-pack" "$RUNNER_TEMP/mcp-install" npm pack ./packages/mcp-server --pack-destination "$RUNNER_TEMP/mcp-pack" - mkdir -p "$RUNNER_TEMP/mcp-install" npm --prefix "$RUNNER_TEMP/mcp-install" install "$RUNNER_TEMP"/mcp-pack/*.tgz MCP_SERVER_ENTRY="$RUNNER_TEMP/mcp-install/node_modules/@next-ai-drawio/mcp-server/dist/index.js" \ npm --prefix packages/mcp-server run test:e2e