

DOCKER WITH TEAMCITY DOWNLOAD
To access a private npm registry during a build (for example, to download a package), you need to:Ĭonfigure an NPM Registry connection as described here. In the Shell script field, enter all Node.js commands to be executed in this step. nvmrc file, it will automatically use the node version specified in it. To display structured test reports in TeamCity, select the step with the framework.Ĭurrently supported frameworks are ESlint, Jest, and Mocha. If TeamCity detects a dependency on a test framework, it will propose choosing between two steps: run tests via this framework or with a general test command. If your repository contains a package.json file, TeamCity will automatically detect used frameworks and propose adding respective build steps. nvmrc file inside your project, TeamCity automatically detects the image specification from there while creating a build step. TeamCity uses a node:lts image by default, or, if there is a. You can define which version of Node.js to use for the current build step. Refer to Docker Wrapper for general information about available Docker settings. PrerequisitesĬurrently, Node.js steps can only be run inside a Docker container. Refer to Configuring Build Steps for a description of common build steps' settings.

The Node.js build runner allows running Node.js tools like npm, yarn, and node.
