Deployment doc update
@@ -18,6 +18,7 @@ npm run compile_build_scripts
```
- If called outside of the repository, then the package is considered to be installed from npm and it will be built and linked against the binaries specified in `config.json` file. This file is created during package preparation for publishing, see below.
- `npm run build` - build package locally in the `catboost` repository, link against library built from source.
+- `npm run ci` - a single scrpt for CI which runs the procedure described in "Release procedure" section.
- `npm run compile` - compile Typescript source files only.
- `npm run test` - run local unit tests.
- `npm run compile_build_scripts` - compile build scripts from Typescript sources.
@@ -55,3 +56,17 @@ npm run compile_build_scripts
```
npm publish
```
+
+## CI
+
+For setting up continuous integration the following had to be done:
+
+1. Checkout the source code (at the release tag commit) on the host with Internet access and docker daemon running (with permissions to tag images and run containers).
+2. From `catboost/catboost/node-package` subdirectory, execute ci script and check that it is executed correctly:
+ ```
+ npm run ci
+ ```
+3. Assuming that npm registry credentials are set up on the host, publish the package via
+ ```
+ npm publish
+ ```
