Merge pull request #689 from usdoj-crt/kw/feature-flag-checkbox #477
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: Google Pagespeed Test | |
on: [push] | |
jobs: | |
build: | |
name: Google Pagespeed Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v3 | |
- name: Install Ruby Dependencies | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7.8 | |
bundler-cache: true | |
- name: Install Node.js Dependencies | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- run: | | |
npm install | |
- name: Start Server | |
run: npm run build:css && npm run build:js && bundle exec jekyll serve --config _config.yml,_config_test.yml --detach | |
- name: Run Lighthouse CI | |
run: | | |
npm install -g @lhci/[email protected] | |
lhci autorun |