FuelLabs / FuelLabs/github-actions
Different ordering of `items` leads to workflow success/failure
- Dominant language
- JavaScript
- Stars
- 12
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
I added an item at the end of an `items` array [here](https://github.com/FuelLabs/fuels-ts/pull/1979/commits/8878a01e5e52f97d7684c94c036e16d1e9db8d1f#diff-48d163c9a33d438ae5ffe114ba037546d91027416af1fbd2f9e780c15505253fR470) and it led to [CI failure](https://github.com/FuelLabs/fuels-ts/actions/runs/8497077113/job/23275253795?pr=1979#step:6:1182).
When I [put it](https://github.com/FuelLabs/fuels-ts/pull/1979/commits/d7aa2b1fde86036eb524dcfe0b78a5320d59a1d7) at the beginning of the list the CI workflow [succeeded](https://github.com/FuelLabs/fuels-ts/actions/runs/8497533123/job/23276209837?pr=1979).
I installed the workflow locally and ran `vp-docs.js` against the `fuels-ts` docs. The failing ordering yields this:
```ts
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:
```ts
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' ],
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.