code: def run_npm_install(path, options, context):
      
      # Use npm ci if available (npm v5.7+)
      if options.get('skip_npm_ci'):
          LOGGER.info("Skipping npm ci or npm install on %s...",
                      os.path.basename(path))
      elif context.env_vars.get('CI') and use_npm_ci(path):  # noqa
          LOGGER.info("Running npm ci on %s...",
                      os.path.basename(path))
          subprocess.check_call([NPM_BIN, 'ci'])
      else:
          LOGGER.info("Running npm install on %s...",
                      os.path.basename(path))
          subprocess.check_call([NPM_BIN, 'install'])
docs: Run npm install/ci.