aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-10-24 15:33:49 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-10-24 15:33:49 -0400
commit5345b9d4df8601fedcb4a226e46db6e6b0246a40 (patch)
tree91c2e686173f0ab15b947764066f485acccc5d9c /.github/workflows
parenta1c696aaf8224794adc1ec98d0cf4a0819325ba8 (diff)
downloadpersonal-website-5345b9d4df8601fedcb4a226e46db6e6b0246a40.tar.gz
personal-website-5345b9d4df8601fedcb4a226e46db6e6b0246a40.tar.bz2
personal-website-5345b9d4df8601fedcb4a226e46db6e6b0246a40.zip
Fixing yml file
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml19
1 files changed, 9 insertions, 10 deletions
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