Fix pages preview url #1032
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: 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: 3.2.2 | |
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:media && 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/cli@0.8.x | |
lhci autorun |