- Install Node.js (16.13.2 or later) which includes Node Package Manager.
- Install Google Chrome for unit testing.
Run npm install
to install required dependencies.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
- Run
npm run test
to execute the unit tests via Karma. - Run
npm run test:ci
to execute the unit tests via Headless Chrome. - Commit / Place a Pull Request to the
main
branch. GitHub Actions will trigger and execute the unit tests .
Run the workflow in GitHub Actions .
- Production host:
https://icy-sea-06b1a3b10.1.azurestaticapps.net