From 5345b9d4df8601fedcb4a226e46db6e6b0246a40 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 24 Oct 2022 15:33:49 -0400 Subject: Fixing yml file --- .github/workflows/main.yml | 19 +++++++++---------- .lighthouserc.json | 6 ------ pages/index.js | 2 +- 3 files changed, 10 insertions(+), 17 deletions(-) delete mode 100644 .lighthouserc.json diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bf096e2..3cef293 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,15 +1,14 @@ -name: CI -on: [push] +name: Lighthouse CI +on: push jobs: - lighthouseci: + lighthouse: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - name: Audit URLs using Lighthouse + uses: treosh/lighthouse-ci-action@v9 with: - node-version: 18 - - run: yarn install && yarn global add @lhci/cli@0.6.x - - run: yarn run export - - run: lhci autorun - env: - LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} + urls: | + https://alee14.me + uploadArtifacts: true # save results as an action artifacts + temporaryPublicStorage: true # upload lighthouse report to the temporary storage diff --git a/.lighthouserc.json b/.lighthouserc.json deleted file mode 100644 index 7e15975..0000000 --- a/.lighthouserc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "staticDistDir": "out/", - "upload" : { - "target": "temporary-public-storage" - } -} diff --git a/pages/index.js b/pages/index.js index 66be816..1fb0519 100644 --- a/pages/index.js +++ b/pages/index.js @@ -45,7 +45,7 @@ export default function Home() {

© Copyright 2018-2022 Andrew Lee

Created using Next.js, and Tailwind CSS. Hosted on Netlify.

-

Using FontAwesome as the main icon style for this site.

+

Using FontAwesome as the main icon style for this site.

This website is licensed under the GNU General Public License v3

The source code of this website is publicly available

-- cgit v1.2.3