This commit is contained in:
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-checks:
|
build-checks:
|
||||||
runs-on: ubuntu-latest
|
runs-on: alta-tool-hub-ci
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -56,8 +56,10 @@ test('build remains Windows portable without misleading signing overrides', () =
|
|||||||
assert.match(pkg.scripts.check, /verify-kit/);
|
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');
|
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\/checkout@v4/);
|
||||||
assert.match(workflow, /actions\/setup-node@v4/);
|
assert.match(workflow, /actions\/setup-node@v4/);
|
||||||
assert.match(workflow, /node-version:\s*['"]?22['"]?/);
|
assert.match(workflow, /node-version:\s*['"]?22['"]?/);
|
||||||
|
|||||||
Reference in New Issue
Block a user