feat(ci): add landingpage CI workflows and dependabot config#281
Merged
feat(ci): add landingpage CI workflows and dependabot config#281
Conversation
Add test workflow for landingpage with lint, integration tests (vitest), and e2e tests (Playwright). Include landingpage in dependabot and security scan coverage. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update payload packages to 3.76.1, @opennextjs/cloudflare to 1.16.5, playwright to 1.58.2, motion to 12.34.0, lucide-react to 0.564.0, and other minor version bumps. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The eslint config imports @eslint/eslintrc directly but it was only available as a transitive dependency, causing CI to fail. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ty vulnerability Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Node 20 doesn't support --no-experimental-strip-types and has esbuild/jsdom TextEncoder compatibility issues. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add optional chaining for realpath() in payload.config.ts to handle undefined return when argv path doesn't exist - Change vitest environment from jsdom to node for integration tests, fixing esbuild TextEncoder invariant violation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
dotenv/config (used by vitest setup) reads .env files, not .env.local. The .env.local convention is Next.js-specific. Using .env ensures both vitest and Next.js can read the PAYLOAD_SECRET. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Update homepage test to match actual title ("Acontext") and assert
h1 visibility instead of hardcoded scaffold text
- Use regex for admin list view URL assertion to allow query params
- Increase beforeAll timeout to 60s for admin tests (seed + login)
- Remove unused page variable and simplify frontend test
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add test workflow for landingpage with lint, integration tests (vitest), and e2e tests (Playwright). Include landingpage in dependabot and security scan coverage.
Impact Areas
Which part of Acontext would this feature affect?
Checklist
devbranch.