The Fighting Lady (1944)
Filmed aboard the carrier during WWII in 1944.
After being stricken by the Navy, she found a new home at the Patriots Point Museum near Charleston, South Carolina. During the time she has been used as a a filming location. Which of the following films or series filmed aboard the retired U.S.S. Yorktown is your favorite?
Sources include a quick search on IMDb as a filming location and the following links: Here and Here