From ad48885a3475aaea5df7286eef7a042744c5c29e Mon Sep 17 00:00:00 2001 From: Andy Jones <42679439+andyjones81@users.noreply.github.com> Date: Sun, 7 Apr 2024 09:33:44 +0100 Subject: [PATCH] Create lighthouse.yaml Signed-off-by: Andy Jones <42679439+andyjones81@users.noreply.github.com> --- .github/workflows/lighthouse.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/lighthouse.yaml diff --git a/.github/workflows/lighthouse.yaml b/.github/workflows/lighthouse.yaml new file mode 100644 index 00000000..60e3882b --- /dev/null +++ b/.github/workflows/lighthouse.yaml @@ -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/cli@0.7.x + lhci autorun