Skip to content

CI script using CLI prompts for user input, causing builds to fail #181

@kateharney

Description

@kateharney

Subject of the issue/enhancement/features

When specifying a version of a dependency in the adapt.json file, the CLI requires user input to continue with installation if there's a newer compatible version available than the one requested in the adapt.json.

Your environment

  • version of the cli CLI: 3.0.7, Framework: 5.22.3
  • operating system(s) MacOS Monterey 12.6.1
  • CI GitHub Workflows runs on Ubuntu latest

Steps to reproduce

Tell us how to reproduce this issue.

  1. Specify the package version in the adapt.json file:

Screen Shot 2022-12-06 at 1 28 34 PM

  1. When running adapt install the CLI prompts "There are newer compatible versions of the following plugins:" and user input is required to "skip".

Expected behaviour

The requested version is installed
adapt install should have a flag to indicate that user input is not available

Actual behaviour

The CLI prompts "There are newer compatible versions of the following plugins:" and user input is required to "skip".
Screen Shot 2022-12-06 at 1 28 27 PM

Screenshots (if you can)

Screen Shot 2022-12-06 at 1 35 30 PM

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Assigned

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions