Closed Eliav2 closed 12 months ago
hey. seems that the issue was related that not all files was cloned. in my case, some files was stored under Github LFS files. so to insure that why would be cloned in the CICD pipeline i had to make sure that LFS files would be included also. This issue is not related this project. thanks for awesome action!
- uses: actions/checkout@v3
with:
lfs: true # This flag ensures that Git LFS is enabled during the checkout process
the repo at the point which the build fails: https://github.com/Eliav2/justSplitIt/tree/f6fa93bb4dde3410ca19b3dff5eb64e9ee6a82d3
I'm guessing this is related to these lines
this syntax:
is allowed by plugins vite-plugin-svgr that tells vite how to bundle SVG elements. I think that this action does not correctly respect this setting in vite but I'm not sure.
Action config
Error message
full error logs:
Expected behavior
build should work on cicd, because running
vite builld
locally works fine.Actual behavior
vite build fails when running via the
FirebaseExtended/action-hosting-deploy@v0
action