Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jesulim authored Feb 4, 2024
1 parent 9ba5d8b commit d0be4b8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Frontend Performance Analysis

on:
schedule:
- cron: '20 0 * * *'

jobs:
analyze_frontend_performance:
runs-on: ubuntu-18.04

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install Lighthouse
run: npm install -g lighthouse

- name: Run Lighthouse
run: lighthouse https://web-tau-opal.vercel.app/ --output json --output html --output-path report_$(date +'%Y-%m-%d').html --chrome-flags="--headless"

0 comments on commit d0be4b8

Please sign in to comment.