Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 0 additions & 7 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
# Keep source templates and the hand-authored landing page visible to Linguist.
/archify/examples/*.html linguist-generated=true
/examples/*.html linguist-generated=true
/docs/cases/*.html linguist-generated=true
/docs/cases/life/*.html linguist-generated=true
/docs/gallery.html linguist-generated=true
/docs/gallery/artifacts/*.html linguist-generated=true
/docs/guide.html linguist-generated=true
/docs/start.html linguist-generated=true
/experiments/**/*.html linguist-generated=true

# Deterministic build outputs committed for zero-install and release verification.
/archify/assets/template.html linguist-generated=true
Expand Down
130 changes: 0 additions & 130 deletions .github/ISSUE_TEMPLATE/showcase.yml

This file was deleted.

179 changes: 0 additions & 179 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
runs-on: ubuntu-latest
outputs:
scope: ${{ steps.classify.outputs.scope }}
website: ${{ steps.classify.outputs.website }}
generated: ${{ steps.classify.outputs.generated }}
browser: ${{ steps.classify.outputs.browser }}
webm: ${{ steps.classify.outputs.webm }}
Expand Down Expand Up @@ -85,9 +84,6 @@ jobs:
- name: Generated outputs and representative goldens
if: matrix.shard == 2
run: npm run test:generated
- name: Verify community Hermes adapter
if: matrix.shard == 2
run: node --test integrations/hermes-agent/test/plugin-contract.test.mjs
- name: Run a complete regression shard
run: node scripts/run-tests.mjs --shard=${{ matrix.shard }}/2

Expand Down Expand Up @@ -431,73 +427,6 @@ jobs:
--test-name-pattern="cli: lock release failure does not invoke the requested opener"
test/cli.test.mjs

website:
needs: scope
if: needs.scope.outputs.website == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: 22
cache: npm
cache-dependency-path: website/package-lock.json
- name: Install website dependencies
run: npm ci
working-directory: website
- name: Typecheck and build website
run: npm run check && npm run build && npm test
working-directory: website
- uses: browser-actions/setup-chrome@48ad923757ca74d66703209fe939badbdf80f2f4 # v2.2.0
id: website-chrome
with:
chrome-version: stable
install-dependencies: true
- name: Install Chinese font coverage for website screenshots
run: |
sudo apt-get install --yes --no-install-recommends fonts-noto-cjk
fc-match 'sans-serif:lang=zh-cn'
- name: Verify built website navigation and language continuity
run: npm run test:browser
working-directory: website
env:
ARCHIFY_SITE_ROOT: ${{ github.workspace }}/website/dist
ARCHIFY_SITE_INTEGRATION: '1'
ARCHIFY_CHROME: ${{ steps.website-chrome.outputs.chrome-path }}
ARCHIFY_CHROME_NO_SANDBOX: '1'
- name: Build and validate the Cloudflare static website
run: npm run build && node scripts/check-cloudflare-output.mjs && node --test test/deployment-target.test.mjs
working-directory: website
env:
ARCHIFY_SITE_TARGET: cloudflare
- name: Verify Cloudflare navigation and language continuity
run: npm run test:browser
working-directory: website
env:
ARCHIFY_SITE_ROOT: ${{ github.workspace }}/website/dist-cloudflare
ARCHIFY_SITE_BASE: ''
ARCHIFY_SITE_INTEGRATION: '1'
ARCHIFY_CHROME: ${{ steps.website-chrome.outputs.chrome-path }}
ARCHIFY_CHROME_NO_SANDBOX: '1'
- name: Upload homepage visual evidence
if: always()
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: website-homepage-evidence
path: website/.browser-evidence
if-no-files-found: warn
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: website-dist
path: website/dist
include-hidden-files: true
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: website-cloudflare-dist
path: website/dist-cloudflare
include-hidden-files: true
if-no-files-found: error

windows-test-portability:
needs: scope
if: always() && !cancelled()
Expand Down Expand Up @@ -540,111 +469,3 @@ jobs:
if: ${{ always() && needs.scope.outputs.windows == 'true' }}
shell: pwsh
run: scripts/windows-path-fixtures.ps1 -NodeVersion '${{ matrix.node-version }}' -Cleanup

deploy-pages:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: [test, canonical-test, webm-artifact, zip-freshness, published-update-manifest, package-smoke, windows-test-portability, website]
runs-on: ubuntu-latest
concurrency:
group: github-pages
cancel-in-progress: false
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
- name: Reject an obsolete deployment run
id: deployment-head
env:
GH_TOKEN: ${{ github.token }}
run: |
current_main="$(gh api "repos/${GITHUB_REPOSITORY}/git/ref/heads/main" --jq '.object.sha')"
if [[ "$current_main" == "$GITHUB_SHA" ]]; then
echo 'current=true' >> "$GITHUB_OUTPUT"
else
echo 'current=false' >> "$GITHUB_OUTPUT"
echo "::notice::Skipping obsolete Pages deployment for ${GITHUB_SHA}; main is ${current_main}"
fi
- name: Configure GitHub Pages
if: steps.deployment-head.outputs.current == 'true'
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
- name: Download verified website build
if: steps.deployment-head.outputs.current == 'true'
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: website-dist
path: website/dist
- name: Upload verified website
if: steps.deployment-head.outputs.current == 'true'
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: website/dist
include-hidden-files: true
- name: Deploy verified website
if: steps.deployment-head.outputs.current == 'true'
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0

# Enable after configuring a Pages project with production branch main.
# Disable Git-connected automatic deployments so they cannot bypass these gates.
deploy-cloudflare:
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && vars.CLOUDFLARE_PAGES_PROJECT != ''
needs: [test, canonical-test, webm-artifact, zip-freshness, published-update-manifest, package-smoke, windows-test-portability, website]
runs-on: ubuntu-latest
concurrency:
group: cloudflare-pages
cancel-in-progress: false
permissions:
contents: read
environment:
name: cloudflare-pages
url: ${{ steps.deployment.outputs.deployment-url }}
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
with:
persist-credentials: false
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: 22
- name: Validate Cloudflare destination
env:
CLOUDFLARE_PAGES_PROJECT: ${{ vars.CLOUDFLARE_PAGES_PROJECT }}
CLOUDFLARE_ACCOUNT_ID: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
shell: bash
run: |
[[ "$CLOUDFLARE_PAGES_PROJECT" =~ ^[a-z0-9][a-z0-9-]{0,57}[a-z0-9]$ ]] || exit 1
[[ "$CLOUDFLARE_ACCOUNT_ID" =~ ^[0-9a-f]{32}$ ]] || exit 1
# Wrangler also discovers Functions relative to its working directory.
test ! -e functions
- name: Download verified Cloudflare website build
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: website-cloudflare-dist
path: website/dist-cloudflare
- name: Reject an obsolete deployment run
id: deployment-head
env:
GH_TOKEN: ${{ github.token }}
shell: bash
run: |
current_main="$(gh api "repos/${GITHUB_REPOSITORY}/git/ref/heads/main" --jq '.object.sha')"
if [[ "$current_main" == "$GITHUB_SHA" ]]; then
echo 'current=true' >> "$GITHUB_OUTPUT"
else
echo 'current=false' >> "$GITHUB_OUTPUT"
echo "::notice::Skipping obsolete Cloudflare deployment for ${GITHUB_SHA}; main is ${current_main}"
fi
- name: Deploy verified Cloudflare website
if: steps.deployment-head.outputs.current == 'true'
id: deployment
uses: cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0 # v4.1.3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
wranglerVersion: '4.148.0'
packageManager: npm
command: pages deploy website/dist-cloudflare --project-name=${{ vars.CLOUDFLARE_PAGES_PROJECT }} --branch=main --commit-hash=${{ github.sha }}
Loading
Loading