From 27eda980685251fdfd08e64d77ad7d8c646e5cbe Mon Sep 17 00:00:00 2001 From: Pablo Vieira Date: Tue, 16 Jan 2024 15:03:01 -0500 Subject: [PATCH] Add flow to run HTML Proofer on PRs --- .github/workflows/pr-check.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/pr-check.yml diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml new file mode 100644 index 0000000..5c4d73c --- /dev/null +++ b/.github/workflows/pr-check.yml @@ -0,0 +1,22 @@ +name: Pull Request Check + +on: [pull_request, workflow_dispatch] + +env: + NOKOGIRI_USE_SYSTEM_LIBRARIES: 'true' + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7.4 + bundler-cache: true + - run: gem install bundler -v '< 2.5' + - run: bundle install --jobs=3 --retry=3 + - run: bundle update + - run: bundle exec jekyll build + - run: time bundle exec rake test