Update contributing.md

This commit is contained in:
ShootingStar91
2024-05-28 11:50:27 +03:00
parent b884137a63
commit ff2ba44184
+4 -7
View File
@@ -1,14 +1,11 @@
### Contributing and CI / CD ### Contributing and CI / CD
**Contributing** **Contributing**
+ Commits can be freely made to `development` branch, but it is safer to use another branch and then make a pull request to merge in development. + Make commits in some new branches - for example a specific feature. If you make more general changes you can use `development`. Merge/rebase, or make a pull request to main once ready and tests pass.
**Tests** **Tests**
+ Pre-commit hook lints and tests typescript compilation before every commit. + Linting and tsc is ran in GitHub actions on push and pull request to any branch.
+ This can be bypassed by adding "--no-verify" as argument to the commit command. + Run locally by doing `npm run lint` and `npx tsc --noEmit` in both `frontend` and `backend` folders.s
Dynamic tests to be built later.
**Deployment** **Deployment**
+ Code can be merged to `main`-branch once it is tested in development. + Code is deployed from `main`. Currently requires building both images in OpenShift manually.
+ Code is deployed from `main`. Currently requires building both images in OpenShift.