Merge branch 'main' into fix/babel-8 #155
Workflow file for this run
This file contains hidden or 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: HTML Proofer | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| paths-ignore: | |
| - ".github/**" | |
| - "!.github/workflows/ci.yml" | |
| - .gitignore | |
| - "docs/**" | |
| - README.md | |
| - LICENSE | |
| jobs: | |
| html-proofer: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.3 | |
| bundler-cache: true | |
| - name: Install dependencies | |
| run: | | |
| gem install bundler | |
| bundle install | |
| - name: Run npm | |
| run: | | |
| npm install | |
| npm run build | |
| - name: Build site | |
| run: bundle exec jekyll build | |
| env: | |
| JEKYLL_ENV: "production" | |
| - name: Test site | |
| run: | | |
| bundle exec htmlproofer _site \ | |
| \-\-disable-external \ | |
| \-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/" |