[READ-ONLY] Mirror of https://github.com/lukebennett88/luke-ui. luke-ui.netlify.app/
0

Configure Feed

Select the types of activity you want to include in your feed.

Update GitHub Actions to Node 24 runtimes (#56)

* Update GitHub Actions to Node 24 runtimes

Resolves the 'Node.js 20 is deprecated' warnings by bumping
jdx/mise-action to v4, actions/configure-pages to v6,
actions/upload-pages-artifact to v5, and actions/deploy-pages to v5.
All four are runtime-only major bumps with no input changes.

* Run knip via turbo in CI so generate runs first

Bare `pnpm run check:unused` fails on PRs that don't affect any
package: --affected runs nothing, routeTree.gen.ts is never generated,
and knip reports an unresolved import. turbo's //#check:unused task
already declares the generate dependencies.

* Run all CI checks through turbo uniformly

Replace the pull_request/push if-else with one shape: a single turbo
invocation for the scoped checks (--affected only on PRs, where the SCM
env vars are set) plus an unscoped turbo invocation for knip, which is
repo-wide and would be skipped by --affected on package-only changes.
Also adds check:format-root to the PR path, which previously never
checked root-file formatting.

* Add check:docs to the CI check job

A broken docs generator previously passed PR CI and only surfaced in
deploy-pages on main, since only docs#build depends on generate:docs.

authored by

Luke Bennett and committed by
GitHub
(Jul 3, 2026, 5:14 PM +1000) f4bbad9f 66636aae

+16 -18
+10 -12
.github/workflows/check.yml
··· 28 28 fetch-depth: 0 29 29 30 30 - name: Setup tooling with mise 31 - uses: jdx/mise-action@v3 31 + uses: jdx/mise-action@v4 32 32 with: 33 33 install: true 34 34 cache: true ··· 40 40 run: corepack pnpm install --frozen-lockfile 41 41 42 42 - name: Run checks 43 + env: 44 + # Empty on push events; only read by --affected. 45 + TURBO_SCM_BASE: ${{ github.event.pull_request.base.sha }} 46 + TURBO_SCM_HEAD: ${{ github.event.pull_request.head.sha }} 43 47 run: | 44 - if [ "${{ github.event_name }}" = "pull_request" ]; then 45 - export TURBO_SCM_BASE="${{ github.event.pull_request.base.sha }}" 46 - export TURBO_SCM_HEAD="${{ github.event.pull_request.head.sha }}" 47 - corepack pnpm exec turbo run check:format check:lint check:types --affected 48 - corepack pnpm run check:unused 49 - else 50 - corepack pnpm run check:format 51 - corepack pnpm run check:lint 52 - corepack pnpm run check:types 53 - corepack pnpm run check:unused 54 - fi 48 + corepack pnpm exec turbo run check:format-root check:format check:lint check:types check:docs ${{ github.event_name == 'pull_request' && '--affected' || '' }} 49 + # knip is repo-wide, but --affected only selects packages whose own files 50 + # changed, so it must run unscoped. Running it via turbo (rather than the 51 + # bare `knip` script) pulls in its generate dependencies first. 52 + corepack pnpm exec turbo run check:unused
+1 -1
.github/workflows/release.yml
··· 19 19 # uses: actions/checkout@v6 20 20 21 21 # - name: Setup Tooling with mise 22 - # uses: jdx/mise-action@v3 22 + # uses: jdx/mise-action@v4 23 23 24 24 # - name: Enable Corepack 25 25 # run: corepack enable
+5 -5
.github/workflows/storybook.yml
··· 27 27 fetch-depth: 0 28 28 29 29 - name: Setup tooling with mise 30 - uses: jdx/mise-action@v3 30 + uses: jdx/mise-action@v4 31 31 with: 32 32 install: true 33 33 cache: true ··· 74 74 uses: actions/checkout@v6 75 75 76 76 - name: Setup tooling with mise 77 - uses: jdx/mise-action@v3 77 + uses: jdx/mise-action@v4 78 78 with: 79 79 install: true 80 80 cache: true ··· 87 87 88 88 - name: Setup Pages 89 89 id: pages 90 - uses: actions/configure-pages@v5 90 + uses: actions/configure-pages@v6 91 91 92 92 - name: Build package 93 93 run: corepack pnpm build:packages ··· 124 124 cp -r packages/@luke-ui/react/storybook-static dist/storybook 125 125 126 126 - name: Upload Pages artifact 127 - uses: actions/upload-pages-artifact@v4 127 + uses: actions/upload-pages-artifact@v5 128 128 with: 129 129 path: dist 130 130 131 131 - name: Deploy to GitHub Pages 132 132 id: deployment 133 - uses: actions/deploy-pages@v4 133 + uses: actions/deploy-pages@v5