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

test private lighthouse CI server

public temporary server was kinda flaky
This commit is contained in:
2020-07-07 10:46:59 -04:00
parent 48eea4ce98
commit ec2ed28bb9
2 changed files with 5 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ jobs:
runs-on: ubuntu-latest
needs: deploy
env:
LHCI_TOKEN: ${{ secrets.LHCI_TOKEN }}
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
steps:
- uses: actions/checkout@v2
@@ -42,7 +43,7 @@ jobs:
if: "github.event_name == 'pull_request'"
continue-on-error: true
run: |
lhci autorun --config=./.lighthouserc.json \
lhci autorun \
--collect.url=https://deploy-preview-${{ github.event.number }}--jakejarvis.netlify.com/ \
--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
@@ -50,7 +51,7 @@ jobs:
if: "github.event_name == 'push' && github.ref == 'refs/heads/main'"
continue-on-error: true
run: |
lhci autorun --config=./.lighthouserc.json \
lhci autorun \
--collect.url=https://jarv.is/ \
--collect.url=https://jarv.is/notes/netlify-analytics-review/ \
--collect.url=https://jarv.is/notes/how-to-pull-request-fork-github/amp.html