feat: Configure CI/CD with GitHub Actions#19
Closed
devin-ai-integration[bot] wants to merge 3 commits into
Closed
Conversation
- Add new ci.yml workflow for PR and push CI checks - Lint job runs ESLint on Node 20 - Build job tests across Node 18, 20, 22 - Upload build artifacts for Node 20 builds - Use npm ci for faster, reproducible installs - Enable npm caching for improved performance - Update npm.yml for scheduled builds - Upgrade to modern Node versions (18, 20, 22) - Update to actions/checkout@v4 and actions/setup-node@v4 - Add lint step to scheduled builds - Add workflow_dispatch for manual triggers - Use npm ci instead of npm install
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
- Remove cache: 'npm' from setup-node steps - Use npm install instead of npm ci (no lock file available)
- Remove needs: lint dependency from build job - Lint and build now run in parallel - Pre-existing lint errors won't block build verification
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.
Summary
This PR configures CI/CD using GitHub Actions with two workflows:
New
ci.ymlworkflow - Runs on PRs and pushes to main:Updated
npm.ymlworkflow - Now a scheduled build check:Note: npm caching is not used because
package-lock.jsonis gitignored in this repository. Usesnpm installinstead ofnpm ci.Updates since last revision
npm citonpm installReview & Testing Checklist for Human
Charts.js,MainChart.js,Widgets.js). This is non-blocking but consider fixing these errors separately.Test Plan: After merging, create a test PR to verify the CI workflow runs correctly. Check that the scheduled workflow can be manually triggered via workflow_dispatch.
Notes
Srinivasan