Skip to content

Commit

Permalink
github-actions: add build pipeline when create pr for recheck build p…
Browse files Browse the repository at this point in the history
…rocess
  • Loading branch information
mildronize committed Aug 6, 2024
1 parent 3f1d39c commit c1485ec
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c1485ec

Please sign in to comment.