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
docs: Correct circleci workflow #2365
docs: Correct circleci workflow #2365
Conversation
and since node/default executor is already using lts version of cimg/node docker image, the `node/install` step is removed. reference: https://circleci.com/developer/orbs/orb/circleci/node#executors-default
jobs: | ||
release: | ||
executor: node/default | ||
steps: | ||
- checkout | ||
- node/install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the reason we include this step is to encourage using the latest lts version of node when releasing, even if that is not the version used to verify the project. does removing this step still accomplish that goal? if not would including a comment make that goal more clear here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for replying!
The reason why that step can be removed is, circleci/node
's default executor already uses lts node docker image.
(There is a configurable tag, which defaults to 'lts')
Reference: https://circleci.com/developer/orbs/orb/circleci/node#executors-default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
🎉 This PR is included in version 19.0.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
when I tried to apply example Circle CI config to my config.yml, I found it contains a YAML syntax error, which is fixed in d2bc910.
And in a2e6ff1, the circleci/node version is upgraded and an unnecessary step is removed.