-
Notifications
You must be signed in to change notification settings - Fork 30
36 lines (36 loc) · 1.03 KB
/
build.yaml
File metadata and controls
36 lines (36 loc) · 1.03 KB
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
name: Build
on:
merge_group:
branches: master
push:
branches: master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Use Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24
- name: Install Hugo
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
with:
hugo-version: 0.160.0
extended: true
- name: Install Bundler
uses: ruby/setup-ruby@e65c17d16e57e481586a6a5a0282698790062f92 # 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