To merge your changes, your commits must be signed.
Minimum requirements are:
- Node.js version 14 (recommended 18)
- Npm version 8.1.0
- Bash shell
- Signed git commits
You can install all dependencies using npm
with following command:
npm install
While developing project you can use some predefined commands for running tests, running linter or generating coverage.
- Execute
npm run test
to run all tests. - Execute
npm run test:coverage
to run all tests and print the code coverage report. - Execute
npm run test:unit
to run Unit tests. - Execute
npm run test:component
to run Component tests. - Execute
npm run lint
to show lint errors in the code.
At the moment there is no automated release scripts, which means we do releases manually. We use gitflow workflow for releases. Please squash commits when finishing the feature branch, this way we can keep relatively clean history on develop and main.
Release following these steps:
- Create and check out release branch off develop once new features are ready to be released (
release/<tag>
). - Bump version on npm packages (both extension and notifications). Commit changes on release branch.
- Create PR and merge release branch to main. Do not squash commits at this stage.
- Create a new tag on main and create release on GitHub.
- Create PR and merge main branch back to develop. Do not squash commits at this stage.