Currently this only contains some github actions that I use across my various projects and a script or two. Maybe someday it'll have more? 🤷
Misc Github actions that may be useful.
- setup-node-pnpm - Given a repo that uses
pnpm
, with node and pnpm versions specified inpackage.json::engines
, checks out the repo, usesactions/setup-node
to install node to the specified version, installspnpm
, sets up caching for thepnpm
store, and optionally installs dependencies. The specified node version must benvm
-compatible, but thepnpm
version may be any valid npm version specification. See action manifest for more details.
Misc scripts that may be helpful in actions or stand-alone
- getEngineVersion.js - Given a
package.json
file with anengines
field, get the specified version of the given engine. See./scripts/getEngineVersion.js --help
for more information. - version-bump.sh - Given a monorepo with a top-level
package.json
file and one or more subdirectories containing sub-packages, bump the version of the top-levelpackage.json
file and copy that version to all sub-packages. See./scripts/version-bump.sh --help
for more information.