mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
e56326cb90
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
30 lines
585 B
YAML
30 lines
585 B
YAML
name: Lighthouse testing
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- src
|
|
|
|
jobs:
|
|
lighthouse-test:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
|
|
- name: Wait for deployment to finish
|
|
run: sleep 10
|
|
|
|
- name: Audit URLs using Lighthouse
|
|
uses: treosh/lighthouse-ci-action@v2
|
|
with:
|
|
urls: |
|
|
https://msfjarvis.dev/
|
|
https://staging.msfjarvis.dev
|
|
budgetsPath: ./budgets.json
|
|
|
|
- name: Save results
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: lighthouse-results
|
|
path: '.lighthouseci'
|