diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..847fba0 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,24 @@ +name: Build Doc + +on: + pull_request: + branches: + - main + - develop + +jobs: + # Build job + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 # Not needed if lastUpdated is not enabled + - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun + + - name: Install dependencies + run: bun install + + - name: Build with VitePress + run: bun run docs:build