-
Notifications
You must be signed in to change notification settings - Fork 8
42 lines (35 loc) · 963 Bytes
/
jekyll.yml
File metadata and controls
42 lines (35 loc) · 963 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
name: Jekyll CI
on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
jobs:
build:
uses: ./.github/workflows/jekyll-build-workflow.yml
tests:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/workflows/site-workflow
- name: Run tests
run: ./run-tests.sh || exit 1
html-validation:
name: "Validate HTML"
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/workflows/site-workflow
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Check final HTML with html-proofer
run: |
gem install html-proofer
rake htmlproofer