Skip to content

Commit 0fcd87c

Browse files
afuchereca-agent
andauthored
CI: add website build job using Node 22 (#110)
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 <git@eca.dev>
1 parent 88c81cf commit 0fcd87c

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/checks.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,15 @@ jobs:
3535
node-version: 20
3636
- run: npm ci
3737
- run: npm run build
38+
39+
build-website: # sanity check that the Astro website builds without errors
40+
runs-on: ubuntu-22.04
41+
steps:
42+
- uses: actions/checkout@v4
43+
- uses: actions/setup-node@v4
44+
with:
45+
node-version: 22
46+
- run: npm ci
47+
working-directory: website
48+
- run: npm run build
49+
working-directory: website

0 commit comments

Comments
 (0)