From dc57bd8d502c05eb8d37df417caa4a33afa7077e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20F=C3=BCcher?= Date: Tue, 31 Mar 2026 11:19:06 -0300 Subject: [PATCH] CI: add website build job using Node 22 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Astro version used by the website requires Node.js >=22.12.0. Add a dedicated `build-website` job to checks.yaml that runs `npm ci` and `npm run build` inside the `website/` directory with Node 22, keeping the existing library jobs on Node 20. 🤖 Generated with [eca](https://eca.dev) Co-Authored-By: eca --- .github/workflows/checks.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 7e16ae1..b0abb9b 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -35,3 +35,15 @@ jobs: node-version: 20 - run: npm ci - run: npm run build + + build-website: # sanity check that the Astro website builds without errors + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 + - run: npm ci + working-directory: website + - run: npm run build + working-directory: website