withastro / language-tools

Language tools for Astro
MIT License
272 stars 54 forks source link

🐛 BUG: astro check on local machine error is not the same on github action #936

Closed Koborieiei closed 2 months ago

Koborieiei commented 3 months ago

Describe the Bug

Hi, I am here to explain that when I run astro check on my local machine the report said that I have 3 errors as shown in the picture below.

Screenshot 2567-08-15 at 11 51 37

When I the build process is start on github action, it always throw error which I wasn't found on my local machine after running astro check followed the picture below.

Screenshot 2567-08-15 at 11 51 22

They are not same, I am not sure whether is it incorrect config or what goes wrong with this problem.

Thank you :D

Steps to Reproduce

  1. yarn astro check
  2. git push Push the code to build on Github Page
  3. Github action notify build fail because of type error ( I expect it should pass, cuz I ran it on my own machine, and there was no problems at all.

Link to Minimal Reproducible Example

not sure yet

github-actions[bot] commented 3 months ago

Hello @Koborieiei. Please provide a minimal reproduction using a GitHub repository or at least sharing the file where the issue happen. Issues marked with needs repro will be closed if they have no activity within 3 days.