Skip to content

Feat(composite-action-integration): Introducing composite actions for installation for better setup #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

dhananjaypai08
Copy link

Refactor: Centralized Installation via Composite Action

This PR introduces a composite GitHub Action (.github/actions/install) to streamline and centralize the setup of Node.js and pnpm across workflows. Previously, installation steps were duplicated in multiple jobs, making version updates and maintenance more error-prone.

To address this, a .tool-versions file has been added to declare the required versions (node 20.19 and pnpm 9.4.0) in one place, leveraging mise for consistent environment setup. The composite action uses mise to install tools and runs pnpm install with strict dependency flags.

The publish.yml workflow has been updated to use this new action, ensuring consistent setup across jobs and simplifying future upgrades.

@dhananjaypai08 dhananjaypai08 requested a review from a team as a code owner June 13, 2025 06:51
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