From 038a81ba73c02fcef491db17dcb2b0b757280001 Mon Sep 17 00:00:00 2001 From: Victoria Nduka <122698422+nwanduka@users.noreply.github.com> Date: Tue, 25 Jun 2024 16:09:03 +0100 Subject: [PATCH] Update lighthouse.yml --- .github/workflows/lighthouse.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index f7d074d28..512d4cbdb 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -21,10 +21,8 @@ jobs: 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/cli@0.13.x + npm run build --if-present lhci autorun