Check if the web build is working every time a commit is pushed
Posted: Thu Nov 30, 2023 8:19 am
In the past couple of days, I've been trying to make it so every time someone push their commit to the repository, it will automatically check if the web build have any errors.
What I've done so far is creating a workflow that builds a web package with Davidobot/love.js and host it with a python http.server. What I've been struggling is I don't really know how to check whether the application has any error since it print out the error in the web console instead of the command line so the workflow can't detect the error.
The Command Prompt and Console for the bug-free version and the error version.
How can I achieve this automatic check and travel to the CI/CD dimension.
What I've done so far is creating a workflow that builds a web package with Davidobot/love.js and host it with a python http.server. What I've been struggling is I don't really know how to check whether the application has any error since it print out the error in the web console instead of the command line so the workflow can't detect the error.
The Command Prompt and Console for the bug-free version and the error version.
How can I achieve this automatic check and travel to the CI/CD dimension.