Skip to content

Commit

Permalink
Updated to use lighthouse action from al-folio
Browse files Browse the repository at this point in the history
Signed-off-by: George Araújo <[email protected]>
  • Loading branch information
george-gca committed Jan 23, 2024
1 parent 8df1310 commit 006fdf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 71 deletions.
67 changes: 0 additions & 67 deletions .github/workflows/lighthouse-badger-easy.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/lighthouse-badger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ name: "Lighthouse Badger"

# INPUTS as environmental variables (env) for not manually triggered workflows
env:
URLS: https://alshedivat.github.io/al-folio/
TOKEN_NAME: LIGHTHOUSE_BADGER_TOKEN
URLS: https://george-gca.github.io/multi-language-al-folio/
TOKEN_NAME: LIGHTHOUSE_BADGER_TOKEN_SECRET # name of the secret that contains the token
# If any of the following env is blank, a default value is used instead
REPO_BRANCH: "${{ github.repository }} master" # target repository & branch e.g. 'dummy/mytargetrepo main'
REPO_BRANCH: # target repository & branch e.g. 'dummy/mytargetrepo main'
MOBILE_LIGHTHOUSE_PARAMS: "--only-categories=performance,accessibility,best-practices,seo --throttling.cpuSlowdownMultiplier=2"
DESKTOP_LIGHTHOUSE_PARAMS: "--only-categories=performance,accessibility,best-practices,seo --preset=desktop --throttling.cpuSlowdownMultiplier=1"

Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
repository: ${{ env.REPOSITORY }}
token: ${{ secrets[github.event.inputs.token_name] || secrets[env.TOKEN_NAME] }}
ref: ${{ env.BRANCH }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: "myactionway/lighthouse-badges"
path: temp_lighthouse_badges_nested
Expand Down

0 comments on commit 006fdf9

Please sign in to comment.