use npm instead of yarn

is there a flag or a way to let eas build use npm and package-lock.json instead of yarn and yarn.lock

if package-lock.json is present in repo then npm is used

if you are getting

 warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json

that means you committed both lockfiles