Skip to content

Commit

Permalink
add test document build
Browse files Browse the repository at this point in the history
  • Loading branch information
thucpn committed Dec 9, 2024
1 parent f1ed6df commit 791c5d2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test_build_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test Documentation Build

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test-docs:
name: Test Documentation Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build documentation and Next.js app
run: pnpm run build
working-directory: apps/next

0 comments on commit 791c5d2

Please sign in to comment.