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

fix lighthouse CI tests

This commit is contained in:
2020-03-30 00:52:18 -04:00
parent 5cb8abc0e2
commit 933a1fe0cd
4 changed files with 10 additions and 11 deletions

View File

@@ -39,7 +39,6 @@ jobs:
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/ \
--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/how-to-pull-request-fork-github/amp.html
env:
@@ -50,13 +49,11 @@ jobs:
run: |
lhci autorun --config=./lighthouserc.json \
--collect.url=https://jarv.is/ \
--collect.url=https://jarv.is/notes/ \
--collect.url=https://jarv.is/notes/how-to-pull-request-fork-github/ \
--collect.url=https://jarv.is/notes/how-to-pull-request-fork-github/amp.html
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
- name: Upload results as artifact
if: success()
uses: actions/upload-artifact@v1
with:
name: lhci-results