From 145dfc0e65e6542ebc183b7f2168cce64d26b9ae Mon Sep 17 00:00:00 2001 From: Rossella Ferrandino <39148794+RossellaFer@users.noreply.github.com> Date: Thu, 25 Apr 2024 10:36:32 +0200 Subject: [PATCH] #5 audit lighthouse action --- .github/workflows/lighthouse-ci.yml | 14 ++++++++------ lighthouserc.json | 10 ---------- 2 files changed, 8 insertions(+), 16 deletions(-) delete mode 100644 lighthouserc.json diff --git a/.github/workflows/lighthouse-ci.yml b/.github/workflows/lighthouse-ci.yml index f0cd4d9..dcb547b 100644 --- a/.github/workflows/lighthouse-ci.yml +++ b/.github/workflows/lighthouse-ci.yml @@ -3,11 +3,13 @@ on: [push] jobs: lighthouseci: runs-on: ubuntu-latest + # Steps represent a sequence of tasks that will be executed as part of the job steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - name: Lighthouse Audit + uses: jakejarvis/lighthouse-action@master with: - node-version: 18 - - run: npm install && npm install -g @lhci/cli@0.13.x - - run: npm run build - - run: lhci autorun \ No newline at end of file + url: 'https://womeninsoftware.jp/' + - uses: actions/upload-artifact@master + with: + name: report + path: './report' \ No newline at end of file diff --git a/lighthouserc.json b/lighthouserc.json deleted file mode 100644 index 886af98..0000000 --- a/lighthouserc.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "ci": { - "collect": { - "url": [ - "http://localhost/" - ], - "staticDistDir": "./dist" - } - } -} \ No newline at end of file