Skip to content

Commit 561ca36

Browse files
authored
Website: Add nextjs build to CI (#138)
1 parent c44334a commit 561ca36

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,18 @@ jobs:
4949
with:
5050
app-path: website/app.py
5151

52+
- name: Check Next.js build
53+
run: |
54+
echo "Checking Next.js build..."
55+
if [ -d "website-nextjs" ] && [ -f "website-nextjs/package.json" ]; then
56+
cd website-nextjs
57+
npm install
58+
npm run build
59+
cd ..
60+
else
61+
echo "Next.js project not found at website-nextjs/package.json. Skipping build check."
62+
fi
63+
5264
- name: Setup Conda for benchmark runner
5365
uses: conda-incubator/setup-miniconda@v3
5466
with:

0 commit comments

Comments
 (0)