Skip to content

Commit

Permalink
test: build job
Browse files Browse the repository at this point in the history
  • Loading branch information
thucpn committed Dec 20, 2024
1 parent aafe5df commit a24109c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 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
6 changes: 3 additions & 3 deletions apps/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
"clsx": "2.1.1",
"foxact": "^0.2.41",
"framer-motion": "^11.11.17",
"fumadocs-core": "^14.6.0",
"fumadocs-docgen": "^1.3.2",
"fumadocs-core": "14.6.0",
"fumadocs-docgen": "1.3.2",
"fumadocs-mdx": "^11.1.2",
"fumadocs-openapi": "^5.8.2",
"fumadocs-twoslash": "^2.0.2",
"fumadocs-typescript": "^3.0.2",
"fumadocs-ui": "^14.6.0",
"fumadocs-ui": "14.6.0",
"hast-util-to-jsx-runtime": "^2.3.2",
"llamaindex": "workspace:*",
"lucide-react": "^0.460.0",
Expand Down

0 comments on commit a24109c

Please sign in to comment.