Skip to content

feat: publish shared configure-nodejs action#1

Merged
huntharo merged 8 commits into
mainfrom
codex/shareable-configure-nodejs-action
Apr 10, 2026
Merged

feat: publish shared configure-nodejs action#1
huntharo merged 8 commits into
mainfrom
codex/shareable-configure-nodejs-action

Conversation

@huntharo
Copy link
Copy Markdown
Contributor

Summary

I extracted the configure-nodejs logic into this standalone repo so it can be shared as pwrdrvr/configure-nodejs@v1.

I added:

  • a root-level composite action with working-directory-aware manager and cache resolution
  • helper scripts and direct Node tests for package-manager and cache-path behavior
  • isolated npm, pnpm, and Yarn fixtures with matrix CI coverage using the local action
  • README and tag-driven release workflow documentation for publishing and maintaining the v1 tag

Testing

I verified this works end to end locally:

  • source ~/.nvm/nvm.sh && nvm use 22 >/dev/null && npm test
  • source ~/.nvm/nvm.sh && nvm use 22 >/dev/null && npm ci && node check.mjs in fixtures/npm-basic
  • source ~/.nvm/nvm.sh && nvm use 22 >/dev/null && corepack enable && pnpm install --frozen-lockfile && node check.mjs in fixtures/pnpm-basic
  • source ~/.nvm/nvm.sh && nvm use 22 >/dev/null && corepack enable && yarn install --immutable && node check.mjs in fixtures/yarn-basic
  • YAML parse checks for action.yml, .github/workflows/ci.yml, and .github/workflows/release.yml
  • git diff --check

Post-Deploy Monitoring & Validation

No additional operational monitoring required because this change creates a standalone GitHub Action repository and CI workflows only; it does not change a running production service.

@huntharo huntharo merged commit 97a30e2 into main Apr 10, 2026
7 checks passed
@huntharo huntharo deleted the codex/shareable-configure-nodejs-action branch April 10, 2026 20:12
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