Add workflow

This commit is contained in:
MartinBraquet
2025-07-31 10:27:04 +02:00
parent 42e320446b
commit 10ec827397

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

@@ -0,0 +1,29 @@
name: Check Next.js Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build Next.js App
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22' # or match the version in .nvmrc or package.json
- name: Install dependencies
run: npm ci
- name: Build the app
run: npm run build