Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
add: lighthouse ci
Browse files Browse the repository at this point in the history
  • Loading branch information
claustra01 committed Aug 9, 2024
1 parent 096469d commit c16d724
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/pr-lighthouse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Lighthouse-CI

on:
push:

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- run: |
npm install
npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_VIRTUAL_NATSUMATSURI }}
channelId: live
projectId: virtual-natsumatsuri
target: virtual-natsumatsuri-dev

lighthouse:
needs: deploy
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- run: |
npm install && npm install -g @lhci/[email protected]
npm run build
lhci autorun

0 comments on commit c16d724

Please sign in to comment.