Skip to content

Conversation

@romradchenko
Copy link
Owner

@romradchenko romradchenko commented Dec 29, 2025

Add basic CI in pull requests

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a basic CI workflow that runs automated checks (linting, typechecking, and unit tests) on pull requests and pushes to the main branch. Additionally, it includes minor updates to example configurations to improve CI stability.

  • Adds GitHub Actions workflow with lint, typecheck, and test jobs
  • Increases Playwright navigation timeout from 30s to 60s for better CI stability
  • Simplifies auth:ensure command invocation in example package

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/check.yml New CI workflow that runs lint, typecheck, and unit tests on PRs and main branch pushes
examples/next-admin-auth/playwright.config.ts Increases navigationTimeout to 60s for improved stability in CI environments
examples/next-admin-auth/package.json Simplifies auth:ensure command from "npm exec playwright-kit" to "playwright-kit"

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +43 to +45
- name: Build
run: npm run build

Copy link

Copilot AI Dec 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build step is redundant here because the typecheck script already includes it. According to package.json, the typecheck script runs "npm run build && npm -w packages/auth run typecheck". Consider removing this step to avoid running the build twice.

Suggested change
- name: Build
run: npm run build

Copilot uses AI. Check for mistakes.
@romradchenko romradchenko merged commit a9f79d5 into main Dec 29, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants