chore: modernize CI and add astro check - #174
Merged
Merged
Conversation
- Update actions/checkout to v5 and actions/setup-node to v6 - Test on Node 22.x and 24.x (current maintenance and active LTS) - Add least-privilege permissions, concurrency cancellation for PRs, 5-minute job timeout, and workflow_dispatch trigger - Add astro check (with @astrojs/check + typescript and tsconfig.json) - Pin flix.tmLanguage.json fetch to a specific commit for reproducible builds - Declare Node >=22 via engines field and .nvmrc - Remove stale /src/data entry from .gitignore Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
magnus-madsen
force-pushed
the
chore/ci-modernization
branch
from
August 3, 2026 05:02
c90045d to
72c012c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Modernizes the CI workflow and tightens up the build setup:
CI workflow
actions/checkoutv4 → v5 andactions/setup-nodev4 → v6permissions: contents: read(least-privilege token)concurrencygroup that cancels superseded PR runs (master pushes always run to completion)workflow_dispatchtrigger for manual runs--if-presentfrom the build step and fix the stale header commentType checking
astro checkas a CI step with@astrojs/check+typescriptdevDependencies and a minimaltsconfig.jsonextendingastro/tsconfigs/base— currently passes with 0 errors/warnings across all 18 filesReproducible builds
flix.tmLanguage.jsonfetch to a specific commit of flix/textmate instead of tracking master HEAD; bump the SHA inbuild-scripts/fetchGrammar.mjsto pick up grammar changesHousekeeping
engines: { node: ">=22" }and add.nvmrcso contributors get warned/switched to a compatible Node/src/dataentry from.gitignoreTest plan
npm run checkpasses locally (0 errors, 0 warnings, 0 hints)npm run buildbuilds all 9 pages cleanly with the pinned grammar URL🤖 Generated with Claude Code