gitlab-org--gitlab-foss/app/assets/javascripts/pipeline_wizard/validators.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
142 B
JavaScript
Raw Normal View History

import { isSeq } from 'yaml';
export const isValidStepSeq = (v) =>
isSeq(v) && v.items.every((s) => s.get('inputs') && s.get('template'));