Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jesulim/web
Browse files Browse the repository at this point in the history
  • Loading branch information
jesulim committed Feb 7, 2024
2 parents 4dfd5c8 + ff03fe2 commit a1f4a11
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: '40 10 * * *'

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 a1f4a11

Please sign in to comment.