fix: scope deploy contract test to deploy job; menu links use Gitea user-content anchors
Deploy / release (push) Successful in 12s
Deploy / deploy (push) Skipped

This commit is contained in:
openhands committed 2026-07-20 20:59:37 +02:00
1 parent 43a624bbe7
commit c0975f8a43
2 files changed
+12 -9

No files matched your search

+6 -6
View File
@@ -44,12 +44,12 @@ jobs:
echo "> Modern, high-performance CMS for Habbo hotel emulators — built on Next.js 16, React 19 and Prisma 7. Integrates with Polaris / Arcturus Morningstar databases." echo "> Modern, high-performance CMS for Habbo hotel emulators — built on Next.js 16, React 19 and Prisma 7. Integrates with Polaris / Arcturus Morningstar databases."
echo "" echo ""
echo "## Menu" echo "## Menu"
echo "- [What is EpicNext-CMS?](#what-is-epicnext-cms)" echo "- [What is EpicNext-CMS?](#user-content-what-is-epicnext-cms)"
echo "- [System Requirements](#system-requirements)" echo "- [System Requirements](#user-content-system-requirements)"
echo "- [Installation Wizard](#installation-wizard)" echo "- [Installation Wizard](#user-content-installation-wizard)"
echo "- [How it is used](#how-it-is-used)" echo "- [How it is used](#user-content-how-it-is-used)"
echo "- [Changes](#changes)" echo "- [Changes](#user-content-changes)"
echo "- [Linked repositories](#linked-repositories)" echo "- [Linked repositories](#user-content-linked-repositories)"
echo "" echo ""
echo '<a id="what-is-epicnext-cms"></a>' echo '<a id="what-is-epicnext-cms"></a>'
echo "## What is EpicNext-CMS?" echo "## What is EpicNext-CMS?"
+6 -3
View File
@@ -44,9 +44,12 @@ describe("production deploy workflow", () => {
it("runs typecheck and tests before build", () => { it("runs typecheck and tests before build", () => {
expect(workflow).toContain("pnpm typecheck"); expect(workflow).toContain("pnpm typecheck");
expect(workflow).toContain("pnpm test"); expect(workflow).toContain("pnpm test");
const typecheckAt = workflow.indexOf("pnpm typecheck"); // Scope to the deploy job: the release job's documentation body also
const testAt = workflow.indexOf("pnpm test"); // mentions these commands, which must not affect this contract.
const buildAt = workflow.indexOf("pnpm build"); const deployJob = workflow.slice(workflow.indexOf("\n deploy:"));
const typecheckAt = deployJob.indexOf("pnpm typecheck");
const testAt = deployJob.indexOf("pnpm test");
const buildAt = deployJob.indexOf("pnpm build");
expect(typecheckAt).toBeGreaterThan(-1); expect(typecheckAt).toBeGreaterThan(-1);
expect(testAt).toBeGreaterThan(typecheckAt); expect(testAt).toBeGreaterThan(typecheckAt);
expect(buildAt).toBeGreaterThan(testAt); expect(buildAt).toBeGreaterThan(testAt);