add ci for next.js

This commit is contained in:
ramnique 2025-02-04 17:31:45 +05:30
parent 38fa36d8d0
commit 2691f1e5ec

27
.github/workflows/rowboat-build.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Rowboat Next.js Build
on:
pull_request:
paths:
- 'apps/rowboat/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
working-directory: apps/rowboat
- name: Build Rowboat
run: npm run build
working-directory: apps/rowboat