mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-27 12:55:46 -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
|
runs-on: ubuntu-latest
|
||||||
needs: deploy
|
needs: deploy
|
||||||
env:
|
env:
|
||||||
|
LHCI_TOKEN: ${{ secrets.LHCI_TOKEN }}
|
||||||
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
|
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -42,7 +43,7 @@ jobs:
|
|||||||
if: "github.event_name == 'pull_request'"
|
if: "github.event_name == 'pull_request'"
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
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/ \
|
||||||
--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/netlify-analytics-review/ \
|
||||||
--collect.url=https://deploy-preview-${{ github.event.number }}--jakejarvis.netlify.com/notes/how-to-pull-request-fork-github/amp.html
|
--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'"
|
if: "github.event_name == 'push' && github.ref == 'refs/heads/main'"
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
lhci autorun --config=./.lighthouserc.json \
|
lhci autorun \
|
||||||
--collect.url=https://jarv.is/ \
|
--collect.url=https://jarv.is/ \
|
||||||
--collect.url=https://jarv.is/notes/netlify-analytics-review/ \
|
--collect.url=https://jarv.is/notes/netlify-analytics-review/ \
|
||||||
--collect.url=https://jarv.is/notes/how-to-pull-request-fork-github/amp.html
|
--collect.url=https://jarv.is/notes/how-to-pull-request-fork-github/amp.html
|
||||||
|
|||||||
@@ -22,7 +22,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"upload": {
|
"upload": {
|
||||||
"target": "temporary-public-storage"
|
"target": "lhci",
|
||||||
|
"serverBaseUrl": "https://powerful-falls-79142.herokuapp.com"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user