Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
chore(ci): migrate GitHub Actions off deprecated Node 20 runtime (fixes #217) (#224)
Yunare Maia09cc2a04af0c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 8d912c16..73a5e0d7 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -12,8 +12,8 @@ jobs:matrix:node-version: [18, 20, 22, 24]steps:- - uses: actions/checkout@v4- - uses: actions/setup-node@v4+ - uses: actions/checkout@v5+ - uses: actions/setup-node@v5with:node-version: ${{ matrix.node-version }}cache: npm@@ -28,8 +28,8 @@ jobs:webm-artifact:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4- - uses: actions/setup-node@v4+ - uses: actions/checkout@v5+ - uses: actions/setup-node@v5with:node-version: 22- name: Provision a known Chrome runtime@@ -73,8 +73,8 @@ jobs:zip-freshness:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4- - uses: actions/setup-node@v4+ - uses: actions/checkout@v5+ - uses: actions/setup-node@v5with:node-version: 22- name: Rebuild archify.zip and compare exact bytes@@ -88,8 +88,8 @@ jobs:published-update-manifest:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4- - uses: actions/setup-node@v4+ - uses: actions/checkout@v5+ - uses: actions/setup-node@v5with:node-version: 22- name: Public notifier manifest must reference an existing stable Release@@ -148,8 +148,8 @@ jobs:os: [ubuntu-latest, macos-latest, windows-latest]runs-on: ${{ matrix.os }}steps:- - uses: actions/checkout@v4- - uses: actions/setup-node@v4+ - uses: actions/checkout@v5+ - uses: actions/setup-node@v5with:node-version: 22- name: Extract packaged skill@@ -185,7 +185,7 @@ jobs:name: github-pagesurl: ${{ steps.deployment.outputs.page_url }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v5- name: Reject an obsolete deployment runid: deployment-headenv:@@ -200,13 +200,13 @@ jobs:fi- name: Configure GitHub Pagesif: steps.deployment-head.outputs.current == 'true'- uses: actions/configure-pages@v5+ uses: actions/configure-pages@v6- name: Upload checked documentationif: steps.deployment-head.outputs.current == 'true'- uses: actions/upload-pages-artifact@v4+ uses: actions/upload-pages-artifact@v5with:path: docs- name: Deploy checked documentationif: steps.deployment-head.outputs.current == 'true'id: deployment- uses: actions/deploy-pages@v4+ uses: actions/deploy-pages@v5diff --git a/.github/workflows/dsh.yml b/.github/workflows/dsh.ymlindex cfd34fe8..11a2453e 100644--- a/.github/workflows/dsh.yml+++ b/.github/workflows/dsh.yml@@ -30,10 +30,10 @@ jobs:name: DSH package contractruns-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v5with:fetch-depth: 0- - uses: actions/setup-node@v4+ - uses: actions/setup-node@v5with:node-version: 22- name: Static adapter contracts@@ -45,13 +45,13 @@ jobs:runs-on: ubuntu-latesttimeout-minutes: 30steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v5with:fetch-depth: 0- - uses: actions/setup-node@v4+ - uses: actions/setup-node@v5with:node-version: 22- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@v5with:version: 10- name: Real tarball install, discovery, package-smoke, uninstall@@ -70,13 +70,13 @@ jobs:runs-on: ${{ matrix.os }}timeout-minutes: 40steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v5with:fetch-depth: 0- - uses: actions/setup-node@v4+ - uses: actions/setup-node@v5with:node-version: 22- - uses: pnpm/action-setup@v4+ - uses: pnpm/action-setup@v5with:version: 10- name: Real DSH distribution acceptancediff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 4c476889..4733a40d 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -11,11 +11,11 @@ jobs:release:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v5- name: Fetch exact tag objectshell: bashrun: git fetch --force --no-tags origin "+refs/tags/${GITHUB_REF_NAME}:refs/tags/${GITHUB_REF_NAME}"- - uses: actions/setup-node@v4+ - uses: actions/setup-node@v5with:node-version: 22cache: npm@@ -93,7 +93,7 @@ jobs:- name: Committed zip must match the build (same gate as CI)run: cmp -s /tmp/archify-built.zip archify.zip- name: Create GitHub Release with the zip attached- uses: softprops/action-gh-release@v2+ uses: softprops/action-gh-release@v3with:files: archify.zipgenerate_release_notes: truediff --git a/.github/workflows/star-history.yml b/.github/workflows/star-history.ymlindex b8122271..637979d0 100644--- a/.github/workflows/star-history.yml+++ b/.github/workflows/star-history.yml@@ -16,8 +16,9 @@ jobs:update:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4- - uses: narayann7/star-history-action@a68d8f9d67ca20d55b682a264e69152dcf326e9c # v1.0.5+ - uses: actions/checkout@v5+ # Upstream PR #6: Node 24 migration, before v1.0.6's chart-rendering changes.+ - uses: narayann7/star-history-action@00dfada13f106e4114ee46728aa415857078e76cwith:output-dir: assetsupdate-readme: 'false'diff --git a/archify/test/readme-showcase.test.mjs b/archify/test/readme-showcase.test.mjsindex ea94a6a9..708ab27a 100644--- a/archify/test/readme-showcase.test.mjs+++ b/archify/test/readme-showcase.test.mjs@@ -230,6 +230,8 @@ test('all README languages end with the self-hosted star history chart', () => {assert.match(workflow, /permissions:\n contents: write/);assert.match(workflow, /narayann7\/star-history-action@[0-9a-f]{40}/);+ // Upstream PR #6 migrates setup-node to Node 24 without the v1.0.6 chart changes.+ assert.match(workflow, /narayann7\/star-history-action@00dfada13f106e4114ee46728aa415857078e76c\s/);assert.match(workflow, /output-dir: assets/);assert.match(workflow, /update-readme: ['"]false['"]/);assert.match(workflow, /commit: ['"]false['"]/);diff --git a/archify/test/release-package-gates.test.mjs b/archify/test/release-package-gates.test.mjsindex e9d59172..050845d5 100644--- a/archify/test/release-package-gates.test.mjs+++ b/archify/test/release-package-gates.test.mjs@@ -70,6 +70,7 @@ test('release prevents manifest preannouncement and smokes the exact archive befassert.match(smoke, /node scripts\/package-smoke\.mjs "\$package_root\/archify"/);assert.doesNotMatch(smoke, /\bnpm\s+(?:ci|install)\b/);assert.match(freshness, /cmp -s \/tmp\/archify-built\.zip archify\.zip/);+ assert.match(upload, /uses: softprops\/action-gh-release@v3\s/);assert.match(upload, /files: archify\.zip/);assert.match(followUp, /docs\/skill-updates\/archify\/stable\.json/);});@@ -158,10 +159,11 @@ test('GitHub Pages deploys docs only after every repository gate succeeds', () =assert.match(job, /current_main" == "\$GITHUB_SHA"/);assert.match(job, /Skipping obsolete Pages deployment/);assert.match(job, /if: steps\.deployment-head\.outputs\.current == 'true'/);- assert.match(job, /actions\/configure-pages@v5/);- assert.match(job, /actions\/upload-pages-artifact@v4/);+ assert.match(job, /actions\/configure-pages@v6/);+ // v5 delegates to upload-artifact v7 (Node 24); v4 still embeds Node 20.+ assert.match(job, /actions\/upload-pages-artifact@v5\s/);assert.match(job, /path: docs/);- assert.match(job, /actions\/deploy-pages@v4/);+ assert.match(job, /actions\/deploy-pages@v5/);});test('release tags with a SemVer prerelease are marked prerelease and never become latest', () => {