-
-
Notifications
You must be signed in to change notification settings - Fork 19
45 lines (37 loc) · 899 Bytes
/
build.yaml
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
36
37
38
39
40
41
42
43
44
45
name: Build Website
on:
push:
branches:
- "main"
pull_request:
branches:
- main
jobs:
check-for-pngs:
name: Check for PNGs
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Check for PNGs
run: python ./.github/scripts/check-for-pngs.py
docusaurus-build:
name: Docusaurus Build
runs-on: ubuntu-latest
needs: check-for-pngs
timeout-minutes: 5
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: "yarn"
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Check Formatting
run: yarn prettier --check .
- name: Build Site
run: yarn build