This document describes how you can test, build and publish this project.
Before you can start you must install and configure the following products on your development machine:
You will then need to clone this project and install the required dependencies:
git clone <repository_url> <dir_name>
cd <dir_name>
npm install
You can test the library while developing it, as follow:
-
Start the testing application
npm run start -w projects/tests-app
-
Make any modifications
- to the library: under
./projects/library/src/
- to the testing application: under
./projects/tests-app/src/
- to the tests: in
./projects/tests-e2e/harness.e2e.ts
- to the library: under
-
Run the tests
npm run start -w projects/tests-e2e
The library will be built in the ./dist
directory.
npm run build -w projects/library
This project comes with automatic continuous delivery (CD) using GitHub Actions.
- Bump the library version in
./projects/library/package.json
- Push the changes
- Create a new GitHub release
- Watch the results in: Actions