2019-12-01 21:11:23 +05:30
|
|
|
name: Lighthouse testing
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- src
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lighthouse-test:
|
|
|
|
runs-on: ubuntu-18.04
|
|
|
|
steps:
|
|
|
|
- name: Wait for deployment to finish
|
2019-12-26 00:21:28 +05:30
|
|
|
run: sleep 10
|
2020-01-11 01:40:43 +05:30
|
|
|
- name: Audit URL using Lighthouse
|
2020-01-13 01:48:35 +05:30
|
|
|
uses: docker://jakejarvis/lighthouse-action:latest
|
2019-12-01 21:11:23 +05:30
|
|
|
with:
|
2020-01-11 01:40:43 +05:30
|
|
|
url: 'https://msfjarvis.dev/'
|
|
|
|
- name: Upload results as an artifact
|
|
|
|
uses: actions/upload-artifact@master
|
2019-12-01 21:11:23 +05:30
|
|
|
with:
|
2020-01-11 01:40:43 +05:30
|
|
|
name: report
|
|
|
|
path: './report'
|