-
-
Notifications
You must be signed in to change notification settings - Fork 21
32 lines (30 loc) · 806 Bytes
/
build-test.yml
File metadata and controls
32 lines (30 loc) · 806 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
name: "Build Test"
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Fetch submodules
run: git submodule update --init --recursive
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: "26.x"
cache: 'yarn'
- run: yarn
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "0.161.1"
extended: true
- name: Build Site
run: |
git config core.quotePath false
HUGO_ENV=production hugo --minify
- name: Check links
uses: wjdp/htmltest-action@11acebff5338acdc9363f2a5e4fc0a84f96da64e
with:
skip_external: true