-
-
Notifications
You must be signed in to change notification settings - Fork 900
fix: ligthouse check failure fix #4062
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sambhavgupta0705
wants to merge
6
commits into
asyncapi:master
Choose a base branch
from
sambhavgupta0705:lighthouse-fix
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
2569a2a
initial commit
sambhavgupta0705 d660173
version change
sambhavgupta0705 7c58dcc
clean up
sambhavgupta0705 9839e11
Merge branch 'master' into lighthouse-fix
TRohit20 578a8ca
Merge branch 'master' into lighthouse-fix
sambhavgupta0705 e9541db
Merge branch 'master' into lighthouse-fix
TRohit20 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ jobs: | |
run: echo "shouldrun=true" >> $GITHUB_OUTPUT | ||
|
||
- if: steps.should_run.outputs.shouldrun == 'true' | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v | ||
|
||
- if: steps.should_run.outputs.shouldrun == 'true' | ||
name: Await Netlify Preview | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @sambhavgupta0705 Are we sure that it is waiting for netlify deployment to complete? Also, what if netlify deployment fails on latest commit? |
||
|
@@ -48,15 +48,14 @@ jobs: | |
- if: steps.should_run.outputs.shouldrun == 'true' | ||
name: Lighthouse Audit | ||
id: lighthouse_audit | ||
uses: treosh/lighthouse-ci-action@03becbfc543944dd6e7534f7ff768abb8a296826 #version 10.1 https://github.com/treosh/lighthouse-ci-action/releases/tag/10.1.0 | ||
uses: treosh/lighthouse-ci-action@2f8dda6cf4de7d73b29853c3f29e73a01e297bd8 | ||
with: | ||
urls: | | ||
https://deploy-preview-$PR_NUMBER--asyncapi-website.netlify.app/ | ||
https://deploy-preview-${{ github.event.pull_request.number }}--asyncapi-website.netlify.app/ | ||
configPath: ./.github/workflows/lighthouserc.json | ||
uploadArtifacts: true | ||
artifactName: lighthouse_results # Use only valid characters | ||
temporaryPublicStorage: true | ||
env: | ||
PR_NUMBER: ${{ github.event.pull_request.number}} | ||
|
||
- if: steps.should_run.outputs.shouldrun == 'true' | ||
name: Lighthouse Score Report | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please look into the workflow again? It is still failing in your PR. You can also look into a completely different approach to get Lighthouse results.