QA Static Site #101
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: QA Static Site | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 15 * * 1" | |
jobs: | |
qa: | |
name: QA Static Site | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: USWDS | |
run: | | |
npm install | |
npm run gulp | |
- name: Build static site | |
run: bundle exec jekyll build | |
- name: Test External Links | |
run: bundle exec htmlproofer --check-html _site |