Skip to content

Commit

Permalink
Create lighthouse.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Jones <[email protected]>
  • Loading branch information
andyjones81 authored Apr 7, 2024
1 parent a3c7f53 commit ad48885
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/lighthouse.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Lighthouse
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lhci:
name: Lighthouse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: npm install, build
run: |
npm install
npm run build
- name: run Lighthouse CI
run: |
npm install -g @lhci/[email protected]
lhci autorun

0 comments on commit ad48885

Please sign in to comment.