Build is failing on Github Actions (CI) only for monorepo (using npm workspaces) #12371
Unanswered
Ridermansb
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Any solution? The exact same thing is happening to me |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to build my Vite app on Github Actions but it's failing (only on Github Actions).
The app is inside
packages/ui
folder since I'm using npm workspaces with this configurationHere is my
workflow
if I run this command
npm run build -w ui
locally, works fine for me.My vite.config.ts file it's simple:
and on my index.html
Error:
This is the error that I'm getting on Github Actions..
Beta Was this translation helpful? Give feedback.
All reactions