1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-17 16:25:31 -04:00

run lighthouse tests on desktop instead of mobile

This commit is contained in:
2021-06-11 23:51:43 -04:00
parent a1293c5a25
commit a2445d236d
2 changed files with 14 additions and 10 deletions

View File

@@ -18,10 +18,13 @@ jobs:
lfs: false
- uses: actions/setup-node@v2
with:
node-version: 14.x
- run: npm install -g @lhci/cli
node-version: 12.x
- uses: browser-actions/setup-chrome@latest
with:
chrome-version: stable
- run: PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true npm install -g @lhci/cli
- run: |
lhci healthcheck
chrome --version
lhci --version
curl $LHCI_SERVER_BASE_URL/version
echo "ref: ${{ github.event.deployment.ref }}"
@@ -30,7 +33,7 @@ jobs:
- if: github.event.deployment_status.environment == 'production'
continue-on-error: true
env:
BASE_URL: https://jarv.is/
BASE_URL: https://jarv.is
LHCI_BUILD_CONTEXT__CURRENT_BRANCH: main
run: |
lhci autorun \