-
Notifications
You must be signed in to change notification settings - Fork 5
34 lines (28 loc) · 777 Bytes
/
Copy pathci.yml
File metadata and controls
34 lines (28 loc) · 777 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
name: Validate catalog
# No path filters: the build reads catalog/, stacks/, docs/, site/ and the
# top-level Markdown files, and the whole run takes seconds.
on:
pull_request:
push:
branches: [main]
workflow_call:
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Node
uses: actions/setup-node@v7
with:
node-version-file: .nvmrc
- name: Test catalog checks
run: node site/checks.test.mjs
- name: Test site build modules
run: node site/lib/lib.test.mjs
- name: Validate catalog
run: node site/validate.mjs
- name: Build site and check pages
run: node site/build.mjs