-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build and preview before running lighthouse ci action
- Loading branch information
1 parent
5ba09a5
commit 411fb37
Showing
1 changed file
with
4 additions
and
4 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 |
---|---|---|
|
@@ -53,12 +53,12 @@ jobs: | |
working-directory: ./lxljs | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Build | ||
- name: Build and preview | ||
env: | ||
API_URL: ${{ secrets.API_URL }} | ||
ID_URL: ${{ secrets.ID_URL }} | ||
run: npm run build | ||
- name: Lighthouse CI Action | ||
run: npm run build && npm run preview | ||
- name: Lighthouse CI Action | ||
uses: treosh/[email protected] | ||
with: | ||
urls: | | ||
|
@@ -67,4 +67,4 @@ jobs: | |
http://localhost:4173/h08ndxddfg5v2pjf | ||
# budgetPath: ./budget.json # test performance budgets | ||
uploadArtifacts: true # save results as an action artifacts | ||
temporaryPublicStorage: false # upload lighthouse report to the temporary storage | ||
temporaryPublicStorage: false # upload lighthouse report to the temporary storage |