diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3bfb808..52e0bcc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,6 +24,9 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "22" - - run: npm install --no-audit --no-fund + # `npm ci` rather than `npm install`: it installs the lockfile exactly + # and fails when package.json and package-lock.json disagree, so CI + # tests the tree a fresh clone would get (MX-222). + - run: npm ci --no-audit --no-fund - run: npm run typecheck - run: npm test diff --git a/package.json b/package.json index 523d685..ddbdc63 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "better-sqlite3": "^12.0.0", "hono": "^4.11.9", "typescript": "^5.7.0", - "zod": "^4.3.6" + "zod": "^3.25.0" }, "license": "MIT", "repository": {