Skip to content

Commit 64fde80

Browse files
authored
Use circleci redirector 0.2.0, check with lighthouse 2.0.0, upload v2 (#208)
1 parent b4a670f commit 64fde80

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/artifact.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,20 @@ jobs:
44
runs-on: ubuntu-latest
55
name: Run CircleCI artifacts redirector
66
steps:
7-
- name: GitHub Action step
8-
uses: larsoner/circleci-artifacts-redirector-action@master
7+
- name: Create URL for CircleCI artifact
8+
id: redirect
9+
uses: larsoner/[email protected]
910
with:
1011
repo-token: ${{ secrets.GITHUB_TOKEN }}
1112
artifact-path: 0/html/index.html
13+
- name: Run Lighthouse on Site
14+
id: lighthouse
15+
uses: foo-software/[email protected]
16+
with:
17+
urls: ${{ steps.redirect.outputs.url }}
18+
outputDirectory: /tmp/lighthouse
19+
- name: Upload Lighthouse Reports
20+
uses: actions/upload-artifact@v2
21+
with:
22+
name: Lighthouse Report ${{ github.run_number }}
23+
path: /tmp/lighthouse

0 commit comments

Comments
 (0)