Skip to content

Commit

Permalink
[Git] On docs pull request test build
Browse files Browse the repository at this point in the history
  • Loading branch information
Marten-Mrfc authored Mar 3, 2025
1 parent 171f484 commit 9a76788
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test-documentation-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test Documentation Build

on:
pull_request:
paths:
- "documentation/**"

jobs:
test:
name: Test Documentation Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt update && sudo apt install libvips-dev -y
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: ./documentation/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: ./documentation
- name: Build website
run: npm run build
working-directory: ./documentation
env:
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}

0 comments on commit 9a76788

Please # to comment.