Skip to content

Commit a84bb42

Browse files
committed
(PC-35532) perf(web): lighthouse
1 parent 524ef20 commit a84bb42

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/dev_on_schedule_lighthouse.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: '4 [on_pr] Lighthouse Web Performance test'
22

3-
on:
4-
schedule:
5-
- cron: '0 22 * * 0' # At 10PM every Sunday
3+
on: push
64

75
env:
86
CACHE_BUCKET_NAME: passculture-infra-prod-github-runner-cache
@@ -33,8 +31,7 @@ jobs:
3331
service-account: ${{ secrets.GCP_EHP_SERVICE_ACCOUNT }}
3432
- name: Run Lighthouse CI 🚀
3533
run: |
36-
yarn dlx @lhci/[email protected]
37-
yarn test:lighthouse --collect.psiApiKey=${{ secrets.PAGE_SPEED_API_KEY }}
34+
yarn dlx @lhci/[email protected] autorun --collect.psiApiKey=${{ secrets.PAGE_SPEED_API_KEY }}
3835
- name: Upload lighthouse report to artifacts 🔎
3936
uses: actions/upload-artifact@v4
4037
if: always()

0 commit comments

Comments
 (0)