forked from TestingConferences/testingconferences.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (27 loc) · 763 Bytes
/
Copy pathci.yml
File metadata and controls
35 lines (27 loc) · 763 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
name: CI
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: Validate conference data
run: ruby tools/validate_data.rb
- name: Run validator regression tests
run: ruby test/validate_data_test.rb
- name: Build with Jekyll
run: bundle exec jekyll build --verbose
- name: Validate generated site
run: bundle exec htmlproofer ./_site --disable-external --no-enforce-https --allow-missing-href --ignore-urls '/^\/\//'