Skip to content

Add GitHub Actions CI - #213

Merged
beaugunderson merged 1 commit into
mainfrom
bg-github-actions
Jul 25, 2026
Merged

beaugunderson merged 1 commit into
mainfrom
bg-github-actions

Conversation

@beaugunderson

Copy link
Copy Markdown
Owner

Adds a GitHub Actions CI workflow running the suite across Node 20, 22, 24 and 25, as the replacement for CircleCI.

Opened primarily to exercise the pull_request trigger before the workflow lands on main — a workflow that is not yet on the default branch cannot be run any other way.

Third-party actions are pinned to commit SHAs rather than tags, since this workflow runs on pull requests from forks and a tag is mutable. The job requests contents: read and no secrets, so a fork branch gets the same read-only token.

CircleCI removal, the branch-protection context swap, and the README badge (which currently carries a live circle-token) follow once this is confirmed green.

@codecov

codecov Bot commented Jul 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (be7e626) to head (68f9665).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #213   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          370       370           
  Branches       216       216           
=========================================
  Hits           370       370           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@beaugunderson
beaugunderson merged commit 5e3ceb7 into main Jul 25, 2026
10 checks passed
@beaugunderson
beaugunderson deleted the bg-github-actions branch July 25, 2026 08:24
beaugunderson added a commit that referenced this pull request Jul 25, 2026
The Actions workflow added in #213 runs the same suite across the same four
Node versions, so CircleCI is redundant. Branch protection now requires the
Actions contexts instead of the CircleCI ones.

Actions also runs pull requests from forks with a read-only token and no
secrets, which CircleCI does not do without a project setting that, if paired
with secret passing, would hand a fork's branch the project's credentials.

The README badge carried a live circle-token query parameter. It was committed
in both the README and the template that regenerates it on every pack, so it
shipped in every published tarball. The badge is now the Actions one, which
needs no token. The CircleCI token itself still needs revoking, since removing
the file does not recall the tarballs already published.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant