From c66d0ce49e8048d362c7f430857f6ae844b53af0 Mon Sep 17 00:00:00 2001 From: PageZ948 Date: Wed, 19 Aug 2026 22:48:09 +0000 Subject: [PATCH] ci: target available GitPeji runner --- .gitea/workflows/ci.yml | 2 +- test/build-contract.test.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 25146e0..0cb0aa6 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -7,7 +7,7 @@ on: jobs: build-checks: - runs-on: ubuntu-latest + runs-on: alta-tool-hub-ci permissions: contents: read steps: diff --git a/test/build-contract.test.js b/test/build-contract.test.js index f26198a..6d20ba2 100644 --- a/test/build-contract.test.js +++ b/test/build-contract.test.js @@ -56,8 +56,10 @@ test('build remains Windows portable without misleading signing overrides', () = assert.match(pkg.scripts.check, /verify-kit/); }); -test('GitPeji CI is build-only and runs all hardening gates on Node 22', () => { +test('GitPeji CI targets the live runner and is build-only on Node 22', () => { const workflow = read('.gitea/workflows/ci.yml'); + assert.match(workflow, /^\s*runs-on:\s*alta-tool-hub-ci\s*$/m); + assert.doesNotMatch(workflow, /^\s*runs-on:\s*ubuntu-latest\s*$/m); assert.match(workflow, /actions\/checkout@v4/); assert.match(workflow, /actions\/setup-node@v4/); assert.match(workflow, /node-version:\s*['"]?22['"]?/);