What is the closest to `npm ci` in yarn
Unfortunately, because of the way yarn module resolution works, just doing yarn install --frozen-lockfile
is sometimes not enough. You can still be left with transitive deps that are invalid.
To truly get the same behavior as npm ci
you must do:
rm -rf node_modules && yarn install --frozen-lockfile
I believe it's as simple as that:
yarn install --frozen-lockfile