Skip to content

Commit

Permalink
add lighthouse to ci/cd actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhay Fernandes committed Sep 2, 2024
1 parent 036dc2d commit ba5f30d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: lighthouse
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
lighthouseci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install && npm install -g @lhci/[email protected]
- run: npm run build
- run: lhci autorun

0 comments on commit ba5f30d

Please sign in to comment.