You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
579 B
20 lines
579 B
5 years ago
|
name: Lighthouse
|
||
|
on: push
|
||
|
jobs:
|
||
|
lighthouse:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v1
|
||
|
- name: Audit URLs using Lighthouse
|
||
|
uses: treosh/lighthouse-ci-action@v2
|
||
|
with:
|
||
|
urls: |
|
||
|
https://ant.design
|
||
|
https://ant.design/docs/react/introduce-cn
|
||
|
https://ant.design/components/button-cn
|
||
|
- name: Save results
|
||
|
uses: actions/upload-artifact@v1
|
||
|
with:
|
||
|
name: lighthouse-results
|
||
|
path: '.lighthouseci' # This will save the Lighthouse results as .json files
|