Skip to content

Different ordering of items leads to workflow success/failure #30

@nedsalk

Description

@nedsalk

I added an item at the end of an items array here and it led to CI failure.
When I put it at the beginning of the list the CI workflow succeeded.

I installed the workflow locally and ran vp-docs.js against the fuels-ts docs. The failing ordering yields this:

const order = processVPConfig(configFile.split(EOL));
console.log(order);

// Tooling: [],
//  Testing: [
//    'Testing in TS',
//    'Setting Up a Custom Chain',
//    'Tweaking the Blockchain'
//  ],
//  CLI: [],
//  fuels: [ 'Config File', 'Commands', 'Binaries', 'Graphql Integration' ],

The successful ordering yields this:

const order = processVPConfig(configFile.split(EOL));
console.log(order);

// Tooling: [ 'GraphQL Integration' ],
//  Testing: [
//    'Testing in TS',
//    'Setting Up a Custom Chain',
//    'Tweaking the Blockchain'
//  ],
//  CLI: [],
//  fuels: [ 'Config File', 'Commands', 'Binaries' ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions