1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-27 07:25:48 -04:00

fix style regressions (code was never actually using Hack font I think..?)

and allow default theme (light or dark) to be set in Hugo config and reflected in both HTML & JS
This commit is contained in:
2020-07-07 10:07:46 -04:00
parent d970c031a5
commit 48eea4ce98
7 changed files with 44 additions and 71 deletions

View File

@@ -34,15 +34,17 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install LHCI
run: npm install -g @lhci/cli
- name: Install Lighthouse CI
run: |
npm install -g @lhci/cli
lhci --version
- name: Audit deploy preview
if: "github.event_name == 'pull_request'"
continue-on-error: true
run: |
lhci autorun --config=./.lighthouserc.json \
--collect.url=https://deploy-preview-${{ github.event.number }}--jakejarvis.netlify.com/ \
--collect.url=https://deploy-preview-${{ github.event.number }}--jakejarvis.netlify.com/notes/how-to-pull-request-fork-github/ \
--collect.url=https://deploy-preview-${{ github.event.number }}--jakejarvis.netlify.com/notes/netlify-analytics-review/ \
--collect.url=https://deploy-preview-${{ github.event.number }}--jakejarvis.netlify.com/notes/how-to-pull-request-fork-github/amp.html
- name: Audit jarv.is
if: "github.event_name == 'push' && github.ref == 'refs/heads/main'"
@@ -50,7 +52,7 @@ jobs:
run: |
lhci autorun --config=./.lighthouserc.json \
--collect.url=https://jarv.is/ \
--collect.url=https://jarv.is/notes/how-to-pull-request-fork-github/ \
--collect.url=https://jarv.is/notes/netlify-analytics-review/ \
--collect.url=https://jarv.is/notes/how-to-pull-request-fork-github/amp.html
- name: Upload results as artifact
uses: actions/upload-artifact@v1