-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,3 +40,17 @@ jobs: | |
project-id: ${{ secrets.VERCEL_PROJECT_ID }} | ||
production: ${{ github.ref == 'refs/heads/main' }} | ||
prebuilt: true | ||
|
||
- name: Lighthouse CI - Healthcheck | ||
run: pnpm dlx @lhci/[email protected] healthcheck --fatal | ||
|
||
- name: Lighthouse CI - Collect | ||
run: | | ||
if [ "${{ github.ref }}" = "refs/heads/main" ]; then | ||
pnpm dlx @lhci/[email protected] collect -n 1 --url ${{ steps.vercel.outputs.deployment-url }} --url https://www.nexterias.dev | ||
else | ||
pnpm dlx @lhci/[email protected] collect -n 1 --url ${{ steps.vercel.outputs.deployment-url }} | ||
fi | ||
- name: Lighthouse CI - Upload | ||
run: pnpm dlx @lhci/[email protected] upload --githubToken ${{ secrets.GITHUB_TOKEN }} --target temporary-public-storage |