quran.com-frontend-next
quran.com-frontend-next copied to clipboard
[feature]: Better CI/CD pipeline
Is there an existing issue for this feature?
- [X] There is no exsiting issue for this feature
Summary
Currently, when we push code, we run unit tests and perform CodeQL analysis. However, vercel will attempt to deploy as soon as the push is made. Also, there still might be errors we didn't know about, like lint/build errors.
Your purposed solution for this feature
Make a custom pipeline that'll test, lint, build the code, and, only then, deploy to vercel. Additionally, we can also analyze the build and link the output html page. Same goes for test coverage and storybook.