Fix GitHub Actions build #20
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: Build and test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
checkout_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code from ${{ github.repository }} | |
uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 8 | |
- name: Install node dependencies | |
run: npm ci | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Install Ruby gems | |
run: make install | |
- name: Build and serve Jekyll website | |
run: make serve & | |
- name: Test Jekyll website with Pa11y | |
run: make test |