In case of failed build vercel will fail to update env with committed code.
As a solution husky can be installed. So on each push husky will try build code to check if it successful .
Alternatively, it can be done with GitHub actions on PR opened / updated.
In case of failed build vercel will fail to update env with committed code. As a solution husky can be installed. So on each push husky will try build code to check if it successful .
Alternatively, it can be done with GitHub actions on PR opened / updated.