Skip to content

Sadiejay bug squasher #746

Sadiejay bug squasher

Sadiejay bug squasher #746

Workflow file for this run

name: html-proofer tests
on: [pull_request, workflow_dispatch]
jobs:
build:
name: Building site and running html-proofer tests
runs-on: ubuntu-latest
steps:
- name: Checkout source.
uses: actions/checkout@v2
- name: Install jekyll site dependencies.
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.3
bundler-cache: true
- uses: c-hive/gha-npm-cache@v1
- name: Install proofer dependencies.
run: npm install
- name: Compile with gulp
run: gulp build
- name: Start up jekyll server.
run: npm run start-detached
- name: Check HTML
uses: chabad360/htmlproofer@master
with:
directory: "./_site"
# The directory to scan
arguments: --ignore-status-codes 0 --ignore-urls "/community.amstat.org/,/fhwa.dot.gov/,/www.cyberseek.org/,/www.clustermapping.us/,/www.bls.gov\/cew/,/bit.ly\,/splashthat.com/"
# The arguments to pass to HTMLProofer