mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Update contributing.md
This commit is contained in:
@@ -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.
|
|
||||||
Reference in New Issue
Block a user