-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (42 loc) · 1.01 KB
/
build.yml
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
48
49
50
name: build
on:
push:
branches:
- "**"
tags:
- "**"
schedule:
# Minute (0-59), Hour (0-23), Day of the month (1-31), Month of the Year (1-12), Day of the week (0-6, 0 = Sunday)
- cron: "0 6 * * 1"
workflow_dispatch:
jobs:
automated-tests:
runs-on: ubuntu-20.04
name: Run automated tests
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Ruby & gems
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.3
bundler-cache: true
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22.3.0
- name: Install npm packages
run: |
npm ci
- name: Check site errors
env:
JEKYLL_ENV: production
run: |
bundle exec jekyll doctor
- name: Build site
env:
JEKYLL_ENV: production
run: |
bundle exec jekyll build