-
Notifications
You must be signed in to change notification settings - Fork 5
Add CI workflow to test, lint and build #20
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
Conversation
Co-authored-by: Boshen <[email protected]>
Co-authored-by: Boshen <[email protected]>
.github/workflows/ci.yml
Outdated
| test-lint-build: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| strategy: |
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.
@copilot remove this strategy
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.
Removed the strategy matrix section as requested. The CI now runs on a single job instead of multiple Node.js versions. (20ec90d)
.github/workflows/ci.yml
Outdated
| - name: Setup Node.js ${{ matrix.node-version }} | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: ${{ matrix.node-version }} |
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.
@copilot use node lts
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.
Changed to use Node.js LTS (lts/*) instead of specific versions. This provides better stability and automatically uses the latest LTS version. (20ec90d)
Co-authored-by: Boshen <[email protected]>
This PR adds a comprehensive CI workflow that automatically tests, lints, and builds the vibe-dashboard project on every pull request and push to main/develop branches.
What's Added
A new CI workflow (
.github/workflows/ci.yml) that:mainanddevelopbranchespnpm lint- ESLint validation across all packagespnpm test- Test execution (currently no tests configured, but ready for future)pnpm build- TypeScript compilation and Vite production buildWhy This Matters
Previously, the repository only had a deployment workflow that runs on the main branch. This new CI workflow provides:
The workflow is designed to complement the existing
deploy.ymlworkflow without conflicts, providing comprehensive automated testing for the development workflow.Testing
The CI workflow has been validated to:
Fixes #19.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.