Turns out `--immutable` and `--immutable-cache` are for yarn 2, yarn 1.x needs to use the `--frozen-lockfile` flag instead