Update yarn version check
Update yarn version check

Ensure version check is run inside the project workspace, i.e. the directory with package.json
bazelbuild/rules_nodejs,bazelbuild/rules_nodejs,bazelbuild/rules_nodejs,bazelbuild/rules_nodejs,bazelbuild/rules_nodejs