Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

test(ci): verify Windows-sensitive fixtures on Windows

tt-a1i60e3af98f47d
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d282dfcf..cd42a88b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -185,9 +185,29 @@ jobs:
- name: Validate packaged skill without installing dependencies
run: node scripts/package-smoke.mjs
+ windows-test-portability:
+ name: Windows test portability
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@v5
+ - uses: actions/setup-node@v5
+ with:
+ node-version: 22
+ - name: Install test dependencies
+ run: npm ci --ignore-scripts
+ working-directory: archify
+ - name: Verify Windows-sensitive regression fixtures
+ run: >-
+ node --test
+ --test-name-pattern="Git checkout preserves|clean staging preserves index modes|workflow migration cleanup failure|preview runs from an installed skill"
+ archify/test/checkout-line-endings.test.mjs
+ archify/test/clean-skill-staging.test.mjs
+ archify/test/workflow-migration.test.mjs
+ archify/test/cli.test.mjs
+
deploy-pages:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
- needs: [test, webm-artifact, zip-freshness, published-update-manifest, package-smoke]
+ needs: [test, webm-artifact, zip-freshness, published-update-manifest, package-smoke, windows-test-portability]
runs-on: ubuntu-latest
concurrency:
group: github-pages
diff --git a/archify/test/release-package-gates.test.mjs b/archify/test/release-package-gates.test.mjs
index 8c6a9880..c9827579 100644
--- a/archify/test/release-package-gates.test.mjs
+++ b/archify/test/release-package-gates.test.mjs
@@ -170,7 +170,7 @@ test('GitHub Pages deploys docs only after every repository gate succeeds', () =
const workflow = fs.readFileSync(path.join(repoRoot, '.github', 'workflows', 'ci.yml'), 'utf8');
const job = workflowJob(workflow, 'deploy-pages');
assert.match(job, /if: github\.event_name == 'push' && github\.ref == 'refs\/heads\/main'/);
- assert.match(job, /needs: \[test, webm-artifact, zip-freshness, published-update-manifest, package-smoke\]/);
+ assert.match(job, /needs: \[test, webm-artifact, zip-freshness, published-update-manifest, package-smoke, windows-test-portability\]/);
assert.match(job, /pages: write/);
assert.match(job, /id-token: write/);
assert.match(job, /repos\/\$\{GITHUB_REPOSITORY\}\/git\/ref\/heads\/main/);