* build: unify YARN_VERSION variable usage and ensure CI uses yarn not npm * chore: use a JS helper so that it can work on windows * chore: make script/yarn without node_modules installed