Skip to content

Commit

Permalink
Build and preview before running lighthouse ci action
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbissemattsson committed Jun 14, 2024
1 parent 5ba09a5 commit 411fb37
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lxl-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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

0 comments on commit 411fb37

Please sign in to comment.