Skip to main content

NPM/Yarn Commands

You may want to use the NPM or Yarn package manager to install specific dependencies for your React Native applications. The package manager commands you enter are executed in this workflow step.

Prerequisites

The workflow steps that need to be executed before running the NPM/Yarn Commands workflow step, along with their respective reasons, are listed in the table below.

Prerequisite Workflow StepDescription
Install NodeThis step will install Node modules for your application. Please note that the NPM/Yarn Commands step should be used after this step.

Input Variables

This step contains different variables. It needs these variables to work. The table below gives explanations of these variables.

Variable NameDescriptionStatus
$AC_REPOSITORY_DIRSpecifies the cloned repository directory. This path will be generated after the Git Clone step.Required
$AC_NPM_COMMAND_ARGSThe NPM command to run. You can add different command parameters directly. The default is: npm/yarn installOptional

To access the source code of this component, please use the following link:

Preview of GitHub - appcircleio/appcircle-npm-yarn-component