Following the tutorial https://docs.astro.build/en/guides/deploy/github/
I am trying to deploy my site to my github pages, and have been following the above tutorial. Currently the github action is failing in the build step with the error:
src/layouts/BaseLayout.astro:7:17 - error ts(2307): Cannot find module '../components/Nav.astro' or its corresponding type declarations.
7 import Nav from '../components/Nav.astro';
even thought that module does exist.
when in my local dev enviroment, running astro check && astro build complete successfully but that step fails in github