From 93b5d78a0365853248c51f598ee8ee98b5e122e5 Mon Sep 17 00:00:00 2001 From: Amirul Islam Redwan Date: Tue, 10 Nov 2026 19:37:58 +0000 Subject: [PATCH] fix(ci): decoupled test runner from container build and included simulator.html in Dockerfile --- Dockerfile | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a3a0e60..4ca5d42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,9 @@ WORKDIR /app COPY package*.json tsconfig.json ./ RUN npm install --no-audit --no-fund -# Source + the marketing landing page (served at /) +# Source + web and simulator assets COPY src ./src -COPY README.md index.html guide.html health.html privacy.html mcp_explorer.html ./ +COPY README.md index.html guide.html health.html privacy.html mcp_explorer.html simulator.html ./ RUN npm run build ENV NODE_ENV=production diff --git a/package.json b/package.json index b85a645..3131a26 100644 --- a/package.json +++ b/package.json @@ -15,9 +15,9 @@ "access": "public" }, "scripts": { - "build": "tsc && node --test test/v260.test.mjs", + "build": "tsc", "test": "node --test test/v260.test.mjs", - "prepublishOnly": "npm run build", + "prepublishOnly": "npm run test && npm run build", "start": "node dist/index.js", "start:http": "node dist/http.js", "dev": "tsx src/index.ts"