summaryrefslogtreecommitdiffstats
path: root/.github/workflows/format-workflow.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/format-workflow.yml')
-rw-r--r--.github/workflows/format-workflow.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/format-workflow.yml b/.github/workflows/format-workflow.yml
index 50c96a629..34636ad3f 100644
--- a/.github/workflows/format-workflow.yml
+++ b/.github/workflows/format-workflow.yml
@@ -40,3 +40,26 @@ jobs:
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
pattern: docs/[a-z][a-z][a-z]?-[A-Z][A-Z]?/.*
+
+ # Vitepress build
+ vitepress:
+ name: Vitepress [Build]
+ runs-on: ubuntu-latest
+ steps:
+ - name: Setup | Checkout
+ uses: actions/checkout@v4
+
+ - name: Setup | Node
+ uses: actions/setup-node@v4
+ with:
+ node-version: 20
+ cache: 'npm'
+ cache-dependency-path: docs/package-lock.json
+
+ - name: Setup | Install dependencies
+ run: npm install
+ working-directory: docs
+
+ - name: Build | Build docs site
+ run: npm run build
+ working-directory: docs