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