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:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user