add docs format gh action
This commit is contained in:
parent
8a31b3bc50
commit
e3fe1bfca9
1 changed files with 21 additions and 0 deletions
21
.github/workflows/prettier-check.yml
vendored
Normal file
21
.github/workflows/prettier-check.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: 'Docs Fomatting Check'
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-and-publish:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
- name: Install dependencies
|
||||
run: bun install
|
||||
- name: check format for docs
|
||||
run:
|
||||
bun docs-check
|
||||
Loading…
Reference in a new issue