| `NODE_UNIT_TEST_REPORT_PATH` | The unit test report file path (JUnit format) | `reports/unit_test_report.xml` |
Implementation rely on the official [NPM CLI](https://docs.npmjs.com/cli-documentation/cli) tool (`npm build` and `npm test` commands).
#### Unit testing with Jest
If you're using [Jest](https://jestjs.io/) as unit testing framework, you'll have to make the following configuration in
@@ -234,26 +235,27 @@ More info:
### `node-audit` job
The Node template features a job `node-audit` that performs [npm audit](https://docs.npmjs.com/cli/audit) to find vulnerabilities (security).
The Node template features a job `node-audit` that performs an audit ([npm audit](https://docs.npmjs.com/cli/v8/commands/npm-audit) or [yarn audit](https://classic.yarnpkg.com/en/docs/cli/audit)) to find vulnerabilities (security).
It is bound to the `test` stage. By default `npm audit` provide a long json report.
The Node template features a job `node-outdated` that performs [npm outdated](https://docs.npmjs.com/cli/outdated) to find dependencies that might be updated.
The Node template features a job `node-outdated` that performs outdated analysis ([npm outdated](https://docs.npmjs.com/cli/v8/commands/npm-outdated) or [yarn outdated](https://classic.yarnpkg.com/lang/en/docs/cli/outdated/)) to find dependencies that might be updated.
It is bound to the `test` stage. By default `npm outdated` provide a long json report.