Skip to content

Commit

Permalink
Update lighthouseci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bdenham authored May 10, 2024
1 parent 8b56b55 commit 4daf3c8
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/lighthouseci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Audit Web Vitals
on:
push:
branches:
- main
pull_request:
- develop
workflow_dispatch:

permissions:
Expand All @@ -16,19 +15,20 @@ jobs:
name: Run Lighthouse
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup Node
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18.17.1

- name: Install Dependencies
run: npm install

- name: Build Site
run: npm run build
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build

- name: Install Lighthouse CLI
run: npm install -g @lhci/[email protected]
Expand Down

0 comments on commit 4daf3c8

Please sign in to comment.