Merge pull request #2475 from eBay/18.4.0 #1687
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: pages-html-proofer | |
# Disabled for now. Will re-enable once we have a better html proofer | |
# on: | |
# push: | |
# paths: | |
# - 'docs/**' | |
# - '!docs/storybook' | |
# - '.github/workflows/pages-html-proofer.yml' | |
# pull_request: | |
# paths: | |
# - 'docs/**' | |
# - '!docs/storybook' | |
# - '.github/workflows/pages-html-proofer.yml' | |
jobs: | |
pages-html-proofer: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@master | |
with: | |
node-version: '20.x' | |
- run: npm i | |
- run: npm run build | |
- run: npm run deploy:only | |
- uses: chabad360/htmlproofer@master | |
with: | |
directory: "./_siteDev" | |
arguments: --disable_external --ignore_empty_alt --allow_hash_href --allow_missing_href |