-
Notifications
You must be signed in to change notification settings - Fork 200
Update Lighthouse CI workflow for pull requests #349
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
SadhanaShree25
wants to merge
17
commits into
keploy:main
Choose a base branch
from
SadhanaShree25:patch-1
base: main
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
17 commits
Select commit
Hold shift + click to select a range
35858c8
Update Lighthouse CI workflow for pull requests
SadhanaShree25 4a170e7
Update .github/workflows/lighthouse_comment.yml
SadhanaShree25 4f73358
Update .github/workflows/lighthouse_comment.yml
SadhanaShree25 80d2095
Update .github/workflows/lighthouse_comment.yml
SadhanaShree25 2a1838c
feat: setup Playwright e2e testing infrastructure (#328)
DSingh0304 ddcf1bf
Add interactive sidebar ad banner with fallback (#350)
dhananjay6561 9faadd5
fix: update analytics and CSP configuration (#351)
slayerjain 431e95e
Fix/resolve pr 351 review comments (#352)
dhananjay6561 78b4d7c
fix: add missing Script import in _document.tsx (#354)
dhananjay6561 e6ac7c0
Aeo (#356)
nehagup 8a2a570
feat: enrich blog structured data and llms.txt for GEO/AEO (#359)
slayerjain a389965
fix: repair malformed vercel.json (missing closing braces) (#361)
slayerjain aa24f2f
fix: resolve 799 duplicate meta descriptions + meta quality gates (#362)
slayerjain 63a91ae
fix: crash on 404 page when post title or excerpt is null (#363)
slayerjain 6480242
feat(seo): GEO/AEO Phase 1 — meta tags, favicon, robots.txt, llms-ful…
slayerjain 6b5f27c
fix: GSC audit — 28 duplicate URL redirects, OG tags, favicon (#365)
slayerjain 7642345
chore: added two urls to redirect in config (#368)
ALOK07K 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 |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # Test Environment Variables | ||
| # Copy this file to .env.test and fill in your values | ||
|
|
||
| # WordPress API Configuration | ||
| WORDPRESS_API_URL=https://wp.keploy.io/graphql | ||
| NEXT_PUBLIC_WORDPRESS_API_URL=https://wp.keploy.io/graphql | ||
|
|
||
| # Test Configuration | ||
| # Base URL for the application under test | ||
| BASE_URL=http://localhost:3000/blog | ||
|
|
||
| # Timeouts (milliseconds) | ||
| TEST_TIMEOUT=30000 | ||
| TEST_EXPECT_TIMEOUT=10000 | ||
| TEST_ACTION_TIMEOUT=15000 | ||
| TEST_NAVIGATION_TIMEOUT=30000 |
This file was deleted.
Oops, something went wrong.
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
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
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 |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| name: Playwright E2E Tests | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [ main, master ] | ||
| push: | ||
| branches: [ main, master ] | ||
|
|
||
| jobs: | ||
| test: | ||
| name: E2E Tests (chromium) | ||
| timeout-minutes: 20 | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '18' | ||
| cache: 'npm' | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Install Playwright Browsers | ||
| run: npx playwright install --with-deps chromium | ||
|
|
||
| - name: Run Playwright tests | ||
| run: npm run test:e2e -- --project=chromium | ||
| env: | ||
| CI: true | ||
| BASE_URL: http://localhost:3000/blog | ||
|
|
||
| - name: Upload test results | ||
| if: failure() | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: test-results-chromium | ||
| path: test-results/ | ||
| retention-days: 7 | ||
|
|
||
| - name: Upload test report | ||
| if: failure() | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: playwright-report-chromium | ||
| path: playwright-report/ | ||
| retention-days: 7 | ||
|
|
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.