-
Notifications
You must be signed in to change notification settings - Fork 298
35 lines (32 loc) · 843 Bytes
/
Copy pathdocs.yml
File metadata and controls
35 lines (32 loc) · 843 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
33
34
35
name: Documentation checks
on:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
with:
go-version: '1.27'
cache-dependency-path: |
go.sum
reference/go.sum
- uses: actions/setup-node@v6
with:
node-version: '24'
cache: npm
cache-dependency-path: site/package-lock.json
- name: Test cookbook
run: go test ./...
- name: Install site dependencies
run: npm ci --ignore-scripts
working-directory: site
- name: Check source reference and build site
run: npm run build
working-directory: site
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}