Detect the existence of pnpm-lock.yaml and install pnpm binary for installing NodeJS dependencies