mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-04 22:34:14 +02:00
update preproduction workflow
This commit is contained in:
parent
f07872d1dd
commit
d3b4329a60
27
.github/workflows/preproduction.yml
vendored
27
.github/workflows/preproduction.yml
vendored
@ -121,6 +121,33 @@ jobs:
|
|||||||
name: jmeter-test-results
|
name: jmeter-test-results
|
||||||
path: reports/
|
path: reports/
|
||||||
|
|
||||||
|
lighthouse-tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: [api-tests, selenium-tests, notification-service-tests]
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install Lighthouse CLI
|
||||||
|
run: npm install -g lighthouse
|
||||||
|
|
||||||
|
- name: Run Lighthouse Performance Audit
|
||||||
|
run: |
|
||||||
|
lighthouse https://fox-one-promptly.ngrok-free.app \
|
||||||
|
--output=json \
|
||||||
|
--output=html \
|
||||||
|
--output-path=./lighthouse.html \
|
||||||
|
--chrome-flags="--headless"
|
||||||
|
|
||||||
|
- name: Debug - List Files
|
||||||
|
run: ls -alh
|
||||||
|
|
||||||
|
- name: Upload Lighthouse Report
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: lighthouse-report
|
||||||
|
path: lighthouse-report.html
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# name: Load Testing with JMeter
|
# name: Load Testing with JMeter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user