-
Notifications
You must be signed in to change notification settings - Fork 187
36 lines (34 loc) · 920 Bytes
/
build.yml
File metadata and controls
36 lines (34 loc) · 920 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
name: Jekyll Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
strategy:
fail-fast: false
matrix:
ruby: [2.7.2, 3.0.0]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# caches and runs bundle automatically - see
# https://github.com/ruby/setup-ruby#caching-bundle-install-automatically
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Restore accessibility cache
uses: actions/cache@v4
with:
path: .accessibility-cache
key: accessibility-${{ github.sha }}-${{ github.run_attempt }}
restore-keys: |
accessibility-${{ github.sha }}-
accessibility-
- run: bundle exec jekyll build
- run: _bin/run-all-checks.sh