Just in case you were thinking of not going
We flew to SF and drove a day into Yosemite West(quiet rental neighborhoods of single familys) and rented a house for three couples. It was pricey but not too bad for several days. The valley is not far from there.
Bought all the food along the way in the valley. Nice set of twistys throught the mountains right up into the valley.
There is a lot to see and you'll end up wanting more time. June is cool enough for shorts and the mosquitoes aren't bad. Good weather. The waterfalls dry up in late summer.