Add CI/CD workflows and ESLint configuration#3
Merged
Conversation
Set up ESLint with typescript-eslint for the project (the lint script was defined but eslint was not installed) and add CI workflows that run on pushes and PRs to main. The test workflow runs against Node 20 and 22. https://claude.ai/code/session_01GWGvS1VjSY6rNR2chqbFJv
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 introduces automated code quality and testing infrastructure by adding GitHub Actions workflows and ESLint configuration to the project.
Key Changes
lint.yml: Runs ESLint on Node.js 20 for every push to main and pull requeststest.yml: Runs build and tests on Node.js 20 and 22 using a matrix strategyeslint.config.jswith recommended rules for JavaScript and TypeScript, ignoringdist/andexamples/directoriessrc/cli/index.tsandsrc/gen/index.tsto comply with linting rulesImplementation Details
@eslint/jsandtypescript-eslintpackageshttps://claude.ai/code/session_01GWGvS1VjSY6rNR2chqbFJv