circleci-orb
circleci-orb copied to clipboard
Multiple steps for build and post-install options
The orb does not work as expected
- what version of the orb are you currently using?
- maybe the problem has been fixed already, check the orb releases at cypress-io/circleci-orb/releases
1.26.0
- paste the
circle.ymlfile if possible or at least the relevant portion
- cypress/install
name: 'Setup Linux'
yarn: true
build:
- run: echo 'This is a test command'
- run: echo 'This is another test command'
- describe what you think should happen
Based on the CircleCI documentation, the steps parameter type should accept a list of commands like the one included above.
In src/orb.yml the build parameter is assigned the steps type:
build:
type: steps
default: []
description: Custom build commands to run after install
- describe what happens
- screenshots and links to the CircleCI builds would be great
The CircleCI build errors saying that the parameter type was not as expected:
Error calling workflow: 'linux'
Error calling job: 'cypress/install'
Type error for argument build: expected type: string, actual value: "clojure.lang.LazySeq@fae3adad" (type sequence)