-
Notifications
You must be signed in to change notification settings - Fork 30
47 lines (36 loc) · 837 Bytes
/
build.yaml
File metadata and controls
47 lines (36 loc) · 837 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
36
37
38
39
40
41
42
43
44
45
46
47
name: Build
on:
merge_group:
branches: master
push:
branches: master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Use Node.js
uses: actions/setup-node@v4.4.0
with:
node-version: 20
- name: Install Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 0.152.2
extended: true
- name: Install Bundler
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: Install asciidoctor
run: gem install asciidoctor
- name: Show Hugo Version
run: hugo version
- name: Install dependencies
run: npm install
- name: Run Hyas test script
run: npm test
- name: Build production website
run: npm run build