Skip to content
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

fix(node-version-check): add Node version check, add package check to CI workflow #999

Merged
merged 9 commits into from
Sep 20, 2021

Conversation

krishna-acondy
Copy link
Contributor

@krishna-acondy krishna-acondy commented Sep 19, 2021

Issue

Fixes #884

Intent

Check Node.js version before installing the CLI.

Implementation

  • Moved checkNodeVersion implementation into package.json script.
  • Improved messaging within the Node version check script.
  • Added CI workflow step for testing the package install on Windows and Linux.

Before

image

After

image

Checks

  • Code is formatted correctly (npm run lint:fix).
  • All unit tests are passing (npm test).
  • All CI checks are green.
  • Reviewer is assigned.

@krishna-acondy krishna-acondy marked this pull request as draft September 19, 2021 09:31
@allanbowe allanbowe merged commit 1fcf698 into main Sep 20, 2021
@allanbowe allanbowe deleted the node-version-fix branch September 20, 2021 06:33
@ghost
Copy link

ghost commented Sep 20, 2021

🎉 This PR is included in version 2.38.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prevent node version warnings when installing CLI
3 participants