Skip to content

Commit

Permalink
Add fileSystemStoragePath
Browse files Browse the repository at this point in the history
  • Loading branch information
denar90 committed Jun 13, 2020
1 parent 43dfcaa commit 4858399
Show file tree
Hide file tree
Showing 33 changed files with 16,396 additions and 19 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/LHCI-upload-to-filesystem.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This will run Lighthouse on a URL, then upload the results to a filesystem.
name: LHCI-upload-to-filesystem
on: push
jobs:
populate-ci-server-data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Lighthouse on a URL and upload data to file system.
uses: ./
with:
urls: |
https://treo.sh/
fileSystemStoragePath: './lhci'
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ inputs:
description: 'Address of a LHCI server'
serverToken:
description: 'API token to push to LHCI server'
fileSystemStoragePath:
description: 'Opt-in to saving Lighthouse results to filesystem storage'
outputs:
resultsPath:
description: 'Path to the folder with LHCI results'
Expand Down
19 changes: 19 additions & 0 deletions node_modules/@lhci/cli/node_modules/@lhci/utils/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4858399

Please sign in to comment.