Pagination??? #130
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Continuous Integration' | |
on: | |
push: | |
branches-ignore: | |
- 'production' | |
tags-ignore: | |
- '*' | |
paths-ignore: | |
- '.github/**' | |
- '!.github/workflows/ci.yml' | |
- '.travis.yml' | |
- '.gitignore' | |
- 'docs/**' | |
- 'README.md' | |
- 'LICENSE' | |
pull_request: | |
paths: | |
- '**' | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
ruby: ['2.7', '3.0', '3.1', '3.2', head] | |
steps: | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Bundle Caching | |
id: bundle-cache | |
uses: actions/cache@v1 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }} | |
restore-keys: | | |
${{ runner.os }}-gems- | |
- name: Install GNU-Coreutils(for macOS) | |
if: runner.os == 'macOS' | |
run: | | |
brew install coreutils | |
- name: Bundle config | |
run: | | |
bundle config path vendor/bundle | |
- name: Bundle Install | |
if: steps.bundle-cache.outputs.cache-hit != 'true' | |
run: | | |
bundle install | |
- name: Bundle Install locally | |
if: steps.bundle-cache.outputs.cache-hit == 'true' | |
run: | | |
bundle install --local | |
- name: Build Site | |
run: | | |
bundle exec jekyll b | |
- name: Test Site | |
run: | | |
bundle exec htmlproofer _site \ | |
--disable-external \ | |
--check-html \ | |
--empty_alt_ignore \ | |
--allow_hash_href \ | |
--url_ignore "//" | |