Skip to content

ci: add GitHub Actions workflows for CI and npm publishing#2

Merged
intech merged 9 commits into
mainfrom
claude/github-ci-npm-publish-f4QjG
Feb 12, 2026
Merged

ci: add GitHub Actions workflows for CI and npm publishing#2
intech merged 9 commits into
mainfrom
claude/github-ci-npm-publish-f4QjG

Conversation

@intech

@intech intech commented Feb 12, 2026

Copy link
Copy Markdown
Contributor
  • CI workflow: runs typecheck, lint, and unit tests on PRs and pushes to main
  • Release workflow: uses changesets/action to create version PRs and publish to npm

https://claude.ai/code/session_015chKuhCj4bKfv9CfDXrxi1

claude and others added 9 commits February 12, 2026 17:57
- CI workflow: runs typecheck, lint, and unit tests on PRs and pushes to main
- Release workflow: uses changesets/action to create version PRs and publish to npm

https://claude.ai/code/session_015chKuhCj4bKfv9CfDXrxi1
healthcheck package requires build:proto (buf generate → tsc) to produce
gen/ directory which is gitignored. Run turbo build:proto as a separate
CI step before typecheck, lint, and tests in both workflows.

https://claude.ai/code/session_015chKuhCj4bKfv9CfDXrxi1
- Switch changelog generator to @changesets/changelog-github for PR/commit
  links and author mentions in CHANGELOG.md
- After changesets publish, create a GitHub Release (vX.Y.Z tag) with
  changelog body extracted from @connectum/core CHANGELOG
- Auto-detect pre-release versions (alpha/beta/rc) and mark accordingly

https://claude.ai/code/session_015chKuhCj4bKfv9CfDXrxi1
- Add `pnpm audit --prod` step to CI and Release workflows
- Add CodeQL SAST workflow (JS/TS, weekly + on push/PR)
- Add Dependabot config for npm and GitHub Actions dependencies
- Enable npm provenance attestation on publish (id-token: write)

https://claude.ai/code/session_015chKuhCj4bKfv9CfDXrxi1
- Pin all actions to full SHA hashes (supply chain protection)
- Add permissions: contents: read to CI workflow
- Pin node-version to 25.2.0 (reproducible builds)
- Fix pnpm audit: --audit-level=high + continue-on-error (non-blocking)
- Fix shell injection: use env var for publishedPackages output
- Remove unnecessary autobuild step from CodeQL (JS/TS is interpreted)
- Add reviewers to dependabot configuration
- Add integration tests step to CI

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- CodeQL: add missing contents: read permission (checkout failed
  with "Repository not found")
- Fix flaky retry test: remove timing assertion that depended on
  Date.now() precision (cockatiel's jitter can reduce delay to <20ms)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
CodeQL analyze step needs actions:read to access workflow run
metadata for SARIF upload telemetry.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
v3 will be deprecated in December 2026. Pinned to v4 SHA.

Note: Advanced Security must be enabled in repo settings
for code scanning to work (Settings → Code security).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
GitHub's default CodeQL setup (enabled via repo settings) handles
code scanning automatically. Custom workflow is redundant and
conflicts with the default setup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@intech
intech merged commit 3ca4ba7 into main Feb 12, 2026
2 checks passed
@intech intech self-assigned this Feb 12, 2026
@intech
intech deleted the claude/github-ci-npm-publish-f4QjG branch February 12, 2026 20:46
@intech intech added the type:chore Maintenance: refactoring, dependencies, CI/CD label Feb 14, 2026
intech added a commit that referenced this pull request Feb 20, 2026
Dependabot alert #2: minimatch <10.2.1 has ReDoS via repeated wildcards.
Force-resolve all transitive minimatch instances to patched version
via pnpm.overrides. Only affects devDependencies (c8 coverage tool).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
intech added a commit that referenced this pull request Feb 20, 2026
fix(deps): override minimatch >=10.2.1 to fix ReDoS (Dependabot #2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:chore Maintenance: refactoring, dependencies, CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants