Although, correct answers are already posted here, I would like to offer a visual proof by using Bloch sphere. $\def\ket#1{\left\lvert#1\right\rangle}
\def\bra#1{\left\langle#1\right\rvert}$
Measuring in $Z$ basis means that after measurement, the state is either $\ket0$ or $\ket1$. Similarly, measuring in $Y$ basis means measuring in $\left\{\ket{+i},\ket{-i}\right\}$ basis.
If we can map $\ket{+i}$ to $\ket0$ and map $\ket{-i}$ to $\ket1$ using an unitary operation, then measuring in computational basis is equivalent to measuring in $Y$ basis. We need not worry about the phase since it will not be observable anyway once we measure in the computational basis.
$$U\ket{+i}=e^{i\phi_0}\ket0$$
$$U\ket{-i}=e^{i\phi_1}\ket1$$
Now, how can we find such a $U$? Since we have a choice for the phases, $U$ is not unique. Let's use Bloch sphere visualization to find one such $U$.
If we apply $S^\dagger$ on $\ket{+i}$, it will rotate $90^\circ$ in clockwise direction and land on $\ket+$. Similarly, $\ket{-i}$ will land on $\ket-$. In other words, measuring $\ket\psi$ in $Y$ basis is the same as measuring $S^\dagger\ket\psi$ in $X$ basis.
Now, if we apply a Hadamard gate, we can convert a $X$ basis measurement to $Z$ basis measurement (and vice versa). In Bloch sphere, $H$ just rotates any state $180^\circ$ along the axis that bisects the $Z$ and $X$ axis. So, measuring $\ket\psi$ in $Y$ basis is the same as measuring $HS^\dagger\ket\psi$ in $Z$ basis.
| $\ket{+i} \leftarrow S^\dagger \leftarrow H$ |
$\ket{+i} \leftarrow \left(HS^\dagger\right) $ |
 |
 |
The purple line is the eigenspace of $HS^\dagger$. Notice that it is equidistant from all three ($X,Y,Z$) axes. It rotates the Bloch sphere by $\frac{2\pi}{3}$ radian.
An alternative option for $U$ could be $\frac{Y+Z}{\sqrt2}$. It also maps $\ket{+i}$ to $\ket0$ (as seen in the image). Contrary to the previous method, this time, the eigenspace (purple line) now lies in the $YZ$ plane and is equidistant from $Y$ and $Z$ axis. This operator rotates the Bloch sphere by $\pi$ radian.

Although I haven't mentioned, but since unitary operations maps orthogonal statevectors to other orthogonal statevectors, $\ket{-i}$ will land on $\ket1$ for any such $U$.
As you can imagine there are infinitely many choices for $U$ which maps $\ket{+i}$ to $\ket0$. And so, there are many different choices to $U$. Generally, $U$ can be written as:
$$U = e^{i\phi_0}\ket{0}\bra{+i} + e^{i\phi_1}\ket{1}\bra{-i}$$
In fact, even if we mapped $\ket{+i}$ to $\ket1$, measuring in $Z$ basis would have been equivalent to $Y$ basis (i.e. $XU$ also works). We just need to invert the result at the end.