-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (35 loc) · 921 Bytes
/
ci.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
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7.4'
bundler-cache: true
- name: Install dependencies
run: |
gem install bundler -v 2.4.22
bundle install
- name: Check Jekyll build
run: bundle exec jekyll build --safe
- name: Verify SEO images
run: ruby scripts/verify_seo_images.rb
- name: Markdown Lint
uses: DavidAnson/markdownlint-cli2-action@v11
with:
globs: |
**/*.md
!vendor/**/*.md
!_site/**/*.md
- name: Check front matter
run: |
bundle exec jekyll doctor
bundle exec jekyll build --strict_front_matter