npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@jadujoel/bump-github-actions

v0.0.4

Published

A fast CLI tool that automatically bumps GitHub Actions in your workflow files to their latest major versions.

Downloads

40

Readme

bump-github-actions

A fast CLI tool that automatically bumps GitHub Actions in your workflow files to their latest major versions.

Scans every .yml / .yaml file in .github/workflows, queries the GitHub API for the newest tags, and rewrites pinned versions in place.

Install

bun add -g @jadujoel/bump-github-actions

Or run directly without installing:

bunx @jadujoel/bump-github-actions

Usage

Run from the root of any repository that contains a .github/workflows directory:

bump-github-actions

Example output

Found 5 unique action(s) across 3 workflow file(s).

Checking actions/checkout@v3 ... update available: v3 -> v4
Checking actions/setup-node@v4 ... up to date (v4).
Checking softprops/action-gh-release@v1 ... update available: v1 -> v2

Applying 2 update(s)...

  Updated .github/workflows/ci.yml
  Updated .github/workflows/release.yml

Done.

Both short (@v3) and full semver (@v3.1.0) references are detected and replaced.

Authentication

Unauthenticated requests to the GitHub API are rate-limited to 60 per hour. To raise the limit, set a GITHUB_TOKEN environment variable:

export GITHUB_TOKEN=ghp_...
bump-github-actions

Programmatic API

The package exports its core functions for use in scripts and other tools:

import {
  parseActions,
  getLatestVersion,
  bumpGithubActions,
} from "@jadujoel/bump-github-actions";

// Parse action references from a workflow string
const actions = parseActions(workflowContent);

// Look up the latest version of a specific action
const latest = await getLatestVersion("actions", "checkout");

// Run the full scan-and-bump pipeline
await bumpGithubActions();

How it works

  1. Globs all *.yml and *.yaml files in .github/workflows.
  2. Extracts every uses: owner/repo@vX reference via regex.
  3. Fetches tags from https://api.github.com/repos/{owner}/{repo}/tags for each unique action.
  4. Determines the highest major version, preferring short tags (v5) over full semver (v5.2.1) when both exist.
  5. Rewrites workflow files in place, updating only the actions that have a newer major version available.

Requirements

License

MIT