Closed blimmer closed 6 days ago
This issue should be fixed in this new version https://circleci.com/developer/orbs/orb/circleci/node?version=6.1.0
Great! Thanks. It looks like you added an integration test for this, so we should be able to close this.
Orb version:
5.2.0
What happened:
Expected behavior:
The newer version of
yarn
should be installed without the error.Additional Information:
The script installs the newer version of
yarn
to/usr/local/bin/yarn
. However, on this machine executor (ubuntu-2204:2024.01.1
),yarn
is being pulled fromnvm
:Which is earlier in the
PATH
:So the newer version being installed does not pass the final check https://github.com/CircleCI-Public/node-orb/blob/66a75a3bdb20f859a7dd807f9023d17f0a94fdc9/src/scripts/install-yarn.sh#L79-L86