You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When rails assets:precompile fails in a github actions CI pipeline, the build continues without raising a build error. This caused some broken code to sneak in to our prod instance this morning.
Does anyone have any ideas how to trigger an error where it will stop the CI build? The output below is printed out, but the CI build continues
Is it possible this is fixed now, or was an issue with the build script?
I just tried to reproduce this and could not. The assets:precompile task had an exit code of 1 for "bad" JS.
When
rails assets:precompile
fails in a github actions CI pipeline, the build continues without raising a build error. This caused some broken code to sneak in to our prod instance this morning.Does anyone have any ideas how to trigger an error where it will stop the CI build? The output below is printed out, but the CI build continues
Example:
The text was updated successfully, but these errors were encountered: