-
-
Notifications
You must be signed in to change notification settings - Fork 200
32 lines (29 loc) · 783 Bytes
/
Copy pathdocs.yml
File metadata and controls
32 lines (29 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Builds the VuePress docs as a CI sanity check on every PR and push.
# Deployment is handled by Cloudflare Pages directly from the repo, so this
# workflow no longer publishes to GitHub Pages.
name: Build Docs
on:
push:
branches: [master, dev]
paths:
- 'website/**'
- '.github/workflows/docs.yml'
pull_request:
paths:
- 'website/**'
- '.github/workflows/docs.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version-file: 'website/.nvmrc'
- run: npm ci --legacy-peer-deps
working-directory: website
- run: npm run docs:build
working-directory: website