if [ ! -w "${HOME:-/root}" ]; then
  export HOME=/tmp
  export XDG_CACHE_HOME="${XDG_CACHE_HOME:-/tmp}"
  export COREPACK_HOME="${COREPACK_HOME:-/tmp/corepack}"
fi

corepack pnpm run lint:lint-staged
