Fix Dead link in funded proposals blogpost #552
Workflow file for this run
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: pa11y tests | |
on: | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Building site and running pa11y-ci tests | |
runs-on: ubuntu-latest | |
steps: | |
# Clone the repository and checkout into the relevant branch | |
- uses: actions/checkout@v4 | |
# Install Ruby | |
- name: Install Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3.4 # Check https://pages.github.com/versions/ for the current Ruby version used by gh pages. | |
# Install dependencies required to run jekyll build | |
- name: Install gh-pages rubygem via bundler | |
run: | | |
# Update gem and bundler - disabled due to gem install errors on CI | |
# gem update --system --no-document | |
gem update bundler --no-document | |
# Set the bundle directory | |
bundle config set path vendor/bundle | |
# Install Gemfile contents via bundler | |
bundle install | |
# Install pa11y requirements | |
- name: Install pa11y-ci | |
run: npm install -g pa11y-ci | |
# Check site accesibility | |
- name: Serve site and test with pa11y | |
run: | | |
bundle exec jekyll serve --detach | |
pa11y-ci http://localhost:4000/ |