Skip to content

Updates proposal

Updates proposal #1052

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.3.4
bundler-cache: true
- uses: actions/setup-node@v4
- 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