name: build-vite description: Build Vite in docker container and verify the build passes.
Development occurs inside a Docker container. There is a delay between saving written files, and the files being read by Docker. Account for this.
You MUST check that Vite build occurs appropriately in Docker. Checking that Vite builds correctly on the host WILL cause a failure.
Use the command: docker exec u4i-local-vite npm run build 2>&1
- The first attempt may have a permissions issue or a slight delay. Wait for the response
- Otherwise, if it fails on the first attempt, try the command again.