Skip to content
This repository was archived by the owner on Apr 22, 2026. It is now read-only.

Add GitHub Actions CI workflow#15

Merged
nick-fields merged 2 commits into
masterfrom
devin/1770232463-add-ci-workflow
Feb 4, 2026
Merged

Add GitHub Actions CI workflow#15
nick-fields merged 2 commits into
masterfrom
devin/1770232463-add-ci-workflow

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Feb 4, 2026

Copy link
Copy Markdown

Summary

Adds a GitHub Actions CI workflow that validates the project builds and tests correctly on every push to master and pull request targeting master.

The workflow:

  • Installs dependencies using yarn install --frozen-lockfile to ensure lockfile integrity
  • Runs yarn build to verify the build succeeds
  • Runs yarn test to execute the test suite

Updates since last revision

Updated yarn.lock to match the pinned dependency versions from the recently merged PR #12. The lockfile entries now use exact version specifiers (e.g., ajv@8.6.2 instead of ajv@^8.6.2) which was required for yarn install --frozen-lockfile to succeed.

Review & Testing Checklist for Human

  • Verify the CI workflow ran successfully on this PR (it should have passed)
  • Confirm yarn build and yarn test scripts exist in package.json and work locally

Notes

The workflow uses Node.js 20.x. Consider adding additional Node versions to the matrix if broader compatibility testing is desired.

Link to Devin run: https://app.devin.ai/sessions/430d7bdf45164595b92dfaa0b15d73d4
Requested by: @nick-fields

Co-Authored-By: nick@flux.ai <nick@flux.ai>
@devin-ai-integration

Copy link
Copy Markdown
Author
Original prompt from nick@flux.ai
# Pin All Dependencies to Exact Versions in package.json

## Background
The `package.json` file in the `buildwithflux/kicad-module-parser` repository currently uses caret (`^`) ranges for most dependencies, which allow minor and patch version updates. We need to pin all dependencies to their exact versions based on what's currently installed in the `yarn.lock` file.

## Task
Review the `yarn.lock` file to determine the exact versions currently being used for all dependencies listed in `package.json`, then update `package.json` to pin these dependencies to those exact versions (removing the `^` prefix).

## Current State
In `package.json`, the following dependencies need to be updated:

**DevDependencies** (most use caret ranges):
- `@types/argparse: ^2.0.10`
- `@types/fs-extra: ^11.0.1`
- `@types/js-yaml: ^4.0.5`
- `@types/klaw: ^3.0.6`
- `@types/node: ^22.5.5`
- `@types/through2: ^2.0.41`
- `pegjs: ^0.10.0`
- `prettier: ^3.3.3`
- `prettier-plugin-pegjs: ^2.0.2`

Note: `npm-run-all: 4.1.5`, `tsup: 8.3.5`, `tsx: 4.19.1`, and `typescript: 5.6.2` are already pinned.

**Dependencies** (all use caret ranges):
- `ajv: ^8.6.2`
- `argparse: ^2.0.1`
- `chalk: ^5.3.0`
- `fs-extra: ^11.1.1`
- `js-yaml: ^4.1.0`
- `klaw: ^4.1.0`
- `through2: ^4.0.2`

## Steps
1. Open the `yarn.lock` file in the `buildwithflux/kicad-module-parser` repository
2. For each dependency listed above, find the exact version that's currently resolved in `yarn.lock`
3. Update `package.json` to replace the caret ranges with the exact version numbers (e.g., change `^8.6.2` to `8.6.2` or whatever exact version is in the lockfile)
4. Ensure all dependencies in both the `dependencies` and `devDependencies` sections are pinned to exact versions

## Files to Modify
- `buildwithflux/kicad-module-parser/package.json` - Update dependency version strings to remove `^` and use exact versions from yarn.lock

You only need to look in the following repo: buildwithflux/kicad-module-parser

@devin-ai-integration

Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Co-Authored-By: nick@flux.ai <nick@flux.ai>
@nick-fields
nick-fields merged commit 743310b into master Feb 4, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant