diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-10-24 15:25:40 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-10-24 15:25:40 -0400 |
| commit | a1c696aaf8224794adc1ec98d0cf4a0819325ba8 (patch) | |
| tree | 376fed9aefaa66e1163e5268832819ab9e1a3299 | |
| parent | 8a2ed430794d82f27f0e4768ff97ad1e36ca799e (diff) | |
| download | personal-website-a1c696aaf8224794adc1ec98d0cf4a0819325ba8.tar.gz personal-website-a1c696aaf8224794adc1ec98d0cf4a0819325ba8.tar.bz2 personal-website-a1c696aaf8224794adc1ec98d0cf4a0819325ba8.zip | |
Hopefully fixed lighthouse
| -rw-r--r-- | .github/workflows/main.yml | 2 | ||||
| -rw-r--r-- | .lighthouserc.json | 6 | ||||
| -rw-r--r-- | package.json | 1 | ||||
| -rw-r--r-- | pages/index.js | 1 |
4 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 87f6fc7..bf096e2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ jobs: with: node-version: 18 - run: yarn install && yarn global add @lhci/cli@0.6.x - - run: yarn run build + - run: yarn run export - run: lhci autorun env: LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} diff --git a/.lighthouserc.json b/.lighthouserc.json new file mode 100644 index 0000000..7e15975 --- /dev/null +++ b/.lighthouserc.json @@ -0,0 +1,6 @@ +{ + "staticDistDir": "out/", + "upload" : { + "target": "temporary-public-storage" + } +} diff --git a/package.json b/package.json index bcef749..ac3e9ab 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "scripts": { "dev": "next dev", "build": "next build", + "export": "next build && next export", "start": "next build && next start", "lint": "next lint" }, diff --git a/pages/index.js b/pages/index.js index 8c3edde..66be816 100644 --- a/pages/index.js +++ b/pages/index.js @@ -45,6 +45,7 @@ export default function Home() { <div className="text-center justify-center font-bold pb-5 flex flex-col space-y-3"> <p>© Copyright 2018-2022 Andrew Lee</p> <p>Created using <a href="https://nextjs.org" className="link" target="_blank" rel="noopener noreferrer">Next.js</a>, and <a href="https://tailwindcss.com" className="link" target="_blank" rel="noopener noreferrer">Tailwind CSS</a>. Hosted on <a href="https://www.netlify.com" className="link" target="_blank" rel="noopener noreferrer">Netlify</a>.</p> + <p>Using <a href="https://fontawesome.com/">FontAwesome</a> as the main icon style for this site.</p> <p>This website is licensed under the <a href="https://www.gnu.org/licenses/gpl-3.0.en.html" className="link" target="_blank" rel="noopener noreferrer">GNU General Public License v3</a></p> <p className="link"><a href="https://github.com/Alee14/personal-website" target="_blank" rel="noopener noreferrer">The source code of this website is publicly available</a></p> </div> |
