ci: modernize workflows, fix cache, and add lighthouse auditing #1
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: Lighthouse CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lighthouse: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: '3.2' | |
| bundler-cache: true | |
| - name: Build Jekyll Site | |
| run: | | |
| gem install bundler | |
| bundle install | |
| bundle exec jekyll build | |
| - name: Run Lighthouse CI | |
| uses: treosh/[email protected] | |
| with: | |
| configPath: './lighthouserc.json' | |
| uploadArtifacts: true | |
| temporaryPublicStorage: true | |
| runs: 3 |