ci: add workflow to test website building

This commit is contained in:
Olivier Vernin 2025-05-12 15:52:28 +02:00
parent 26b6e484c0
commit db62dfe757
1 changed files with 25 additions and 0 deletions

25
.github/workflows/build.yaml vendored Normal file
View File

@ -0,0 +1,25 @@
---
name: Build
on:
pull_request:
push:
merge_group:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: yarn
- name: Build website
run: |
yarn install --frozen-lockfile
yarn build