Skip to content

Link & Boost GSAS Certificate Program #117

Link & Boost GSAS Certificate Program

Link & Boost GSAS Certificate Program #117

Workflow file for this run

name: lighthouse a11y test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-a11y:
runs-on: ubuntu-latest
steps:
# setup
- uses: actions/checkout@v3
- run: echo "NODE_VERSION=$(cat '.nvmrc')" >> ${GITHUB_ENV}
- name: setup node
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: setup ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
# build site
- name: build site
run: bundle exec jekyll build
# test a11y
- name: test a11y
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
run: |
npm install -g @lhci/[email protected]
lhci autorun