Skip to content

Commit

Permalink
Update lighthouse.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nwanduka authored Jun 25, 2024
1 parent 038a81b commit b2a9252
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@ jobs:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm install -g http-server
- run: npm run build --if-present
- run: http-server -s &
- name: Run Lighthouse
run: |
npm install -g @lhci/[email protected]
npm run build --if-present
npm install -g lhci/[email protected]
sleep 90
lhci autorun

0 comments on commit b2a9252

Please sign in to comment.