Updates to Team Page #192
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: Lighthouse CI | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
lighthouse: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Use Ruby 3.1.x | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
# don't need to specify Ruby version; action will use the version from .ruby-version | |
- run: | | |
bundle install | |
bundle exec jekyll build | |
- name: run Lighthouse CI | |
run: | | |
npm install -g @lhci/[email protected] | |
lhci autorun --config=./.github/lighthouse/lighthouserc.js | |
env: | |
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} |