Skip to content

Commit 27eda98

Browse files
author
Pablo Vieira
committed
Add flow to run HTML Proofer on PRs
1 parent e6bf7b6 commit 27eda98

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/pr-check.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Pull Request Check
2+
3+
on: [pull_request, workflow_dispatch]
4+
5+
env:
6+
NOKOGIRI_USE_SYSTEM_LIBRARIES: 'true'
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- uses: ruby/setup-ruby@v1
15+
with:
16+
ruby-version: 2.7.4
17+
bundler-cache: true
18+
- run: gem install bundler -v '< 2.5'
19+
- run: bundle install --jobs=3 --retry=3
20+
- run: bundle update
21+
- run: bundle exec jekyll build
22+
- run: time bundle exec rake test

0 commit comments

Comments
 (0)