Skip to content

feat!: rm yarn, node setup#44

Merged
Anmol1696 merged 3 commits intohyperweb-io:mainfrom
2wheeh:feat/rm-node-yarn
Jan 15, 2026
Merged

feat!: rm yarn, node setup#44
Anmol1696 merged 3 commits intohyperweb-io:mainfrom
2wheeh:feat/rm-node-yarn

Conversation

@2wheeh
Copy link
Contributor

@2wheeh 2wheeh commented Jan 15, 2026

Description

The current starship-action internally uses actions/setup-node and yarn to install @starship-ci/cli. This forces a specific Node.js version and package manager (yarn), which may conflict with user project configurations.

Since @starship-ci/cli can be executed via npx, this PR removes the Node.js/yarn setup and relies on the runner's pre-installed environment instead.

Changes

  • Removes actions/setup-node and yarn installation steps
  • Updates docs and tests

@2wheeh 2wheeh changed the title feat: rm yarn, node setup feat!: rm yarn, node setup Jan 15, 2026
@Anmol1696 Anmol1696 requested a review from Copilot January 15, 2026 08:04
@Anmol1696 Anmol1696 merged commit ca7de52 into hyperweb-io:main Jan 15, 2026
9 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request removes internal Node.js and yarn setup from the starship-action, requiring users to explicitly configure Node.js in their workflows before using the action. The change simplifies the action by delegating environment setup to users while switching from yarn to npm for installing the @starship-ci/cli package.

Changes:

  • Removes internal actions/setup-node and yarn setup steps from action.yaml
  • Updates the CLI installation command from yarn global add to npm install -g
  • Adds explicit Node.js setup (v24) to all test workflows and README example

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
action.yaml Removes Node.js/yarn setup steps and temporary file creation; switches CLI installation to npm
README.md Updates example workflow to include explicit Node.js v24 setup requirement
.github/workflows/test.yaml Adds Node.js v24 setup to all three test jobs to support the new architecture

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- uses: actions/checkout@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing whitespace detected at the end of this line. Consider removing it to maintain consistent code formatting.

Suggested change
node-version: "24"
node-version: "24"

Copilot uses AI. Check for mistakes.
- uses: actions/checkout@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing whitespace detected at the end of this line. Consider removing it to maintain consistent code formatting.

Suggested change
node-version: "24"
node-version: "24"

Copilot uses AI. Check for mistakes.
- uses: actions/checkout@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing whitespace detected at the end of this line. Consider removing it to maintain consistent code formatting.

Suggested change
node-version: "24"
node-version: "24"

Copilot uses AI. Check for mistakes.
@2wheeh 2wheeh deleted the feat/rm-node-yarn branch January 15, 2026 08:10
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.

3 participants