Repository navigation
ci: pin ubuntu-24.04, Node 24 actions, self-hosted fonts - #13
Merged
Merged
Conversation
…currency - runs-on ubuntu-24.04 instead of ubuntu-latest - actions/checkout@v7, actions/setup-node@v7 and pnpm/action-setup@v6 - concurrency is keyed on workflow and ref, and only cancels outside main - 15 minute job timeout and a read-only GITHUB_TOKEN - CI now runs format:check, which the repo already passes - typecheck runs `next typegen` before `tsc --noEmit`, so route types exist on a clean checkout Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bricolage Grotesque, Geist and Geist Mono now load through next/font/local from latin woff2 files taken from the @fontsource-variable packages with npm pack, so no dependency is added. The --font-display, --font-geist-sans and --font-geist-mono variables and the className wiring are unchanged and display is swap. The SIL OFL 1.1 licence ships next to each family. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What changes
CI (
.github/workflows/ci.yml)runs-on: ubuntu-24.04instead ofubuntu-latest, which moves to 26.04 on 19 October.actions/checkout@v7,actions/setup-node@v7(samenode-version,cache: pnpmandcache-dependency-path) andpnpm/action-setup@v6(samepackage_json_file, so pnpm still comes frompackageManager).ci-${{ github.workflow }}-${{ github.ref }}, cancelling in-progress runs everywhere exceptmain.timeout-minutes: 15on the web job andpermissions: contents: read.pnpm format:check, whichmainalready passes.web/package.jsontypecheck is nownext typegen && tsc --noEmitinstead of baretsc --noEmit.Fonts (
web/src/app/layout.tsx,web/src/app/fonts/)next/font/googleis replaced bynext/font/local, so the build no longer depends on reaching Google Fonts.@fontsource-variable/bricolage-grotesque,@fontsource-variable/geistand@fontsource-variable/geist-mono(5.3.0, taken withnpm pack, so no new dependency).--font-display,--font-geist-sansand--font-geist-monoand theclassNamewiring on<html>are unchanged, withdisplay: "swap". The font constants are renamed tobricolage,geistandgeistMono, so the generated family names say which face they are.fonts/README.mdrecords the source of each file.grep -rn next/font/google web/srcis now empty.Gates run locally
pnpm install --frozen-lockfile,lint,format:check,typecheck,test(989 passed) andbuildall pass.🤖 Generated with Claude Code