From 9155325f26b52ca5c85c3abe8b70ddb352d4ed69 Mon Sep 17 00:00:00 2001 From: teomrd Date: Wed, 13 Nov 2024 10:41:36 +0000 Subject: [PATCH] feat(ci): lighthouse reports --- .github/workflows/lighhouse.yml | 10 +++------- .github/workflows/on-pull-request.yml | 4 ---- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lighhouse.yml b/.github/workflows/lighhouse.yml index c79b707..cbb90f4 100644 --- a/.github/workflows/lighhouse.yml +++ b/.github/workflows/lighhouse.yml @@ -14,11 +14,7 @@ jobs: - uses: denoland/setup-deno@v2 with: deno-version: v2.x - - run: make build - - uses: actions/setup-node@v4 - with: - node-version: 20 - - run: npm install -g @lhci/cli@0.14.x - - run: lhci autorun + - name: Lighthouse audits env: - LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} \ No newline at end of file + LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} + uses: ./.github/actions/lighthouse-audit \ No newline at end of file diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index f653e35..b0814d8 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -16,7 +16,3 @@ jobs: deno-version: v2.x - run: make checks - run: make build - - name: Lighthouse audits - env: - LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} - uses: ./.github/actions/lighthouse-audit