fix(ci): decoupled test runner from container build and included simulator.html in Dockerfile

This commit is contained in:
Amirul Islam Redwan
2026-11-10 19:37:58 +00:00
parent 40b56b21ec
commit 93b5d78a03
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -6,9 +6,9 @@ WORKDIR /app
COPY package*.json tsconfig.json ./ COPY package*.json tsconfig.json ./
RUN npm install --no-audit --no-fund RUN npm install --no-audit --no-fund
# Source + the marketing landing page (served at /) # Source + web and simulator assets
COPY src ./src 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 RUN npm run build
ENV NODE_ENV=production ENV NODE_ENV=production
+2 -2
View File
@@ -15,9 +15,9 @@
"access": "public" "access": "public"
}, },
"scripts": { "scripts": {
"build": "tsc && node --test test/v260.test.mjs", "build": "tsc",
"test": "node --test test/v260.test.mjs", "test": "node --test test/v260.test.mjs",
"prepublishOnly": "npm run build", "prepublishOnly": "npm run test && npm run build",
"start": "node dist/index.js", "start": "node dist/index.js",
"start:http": "node dist/http.js", "start:http": "node dist/http.js",
"dev": "tsx src/index.ts" "dev": "tsx src/index.ts"