Building upon the automatic numbering for repeated jobs (like this example where I run node/test
twice), I managed to leverage the matrix options to have better automated names: see this other example with more than one matrix and with a matrix-named dependency. Here’s the meaningful part of the config:
workflows:
node-tests:
jobs:
- node/test:
matrix:
parameters:
version:
- lts # generates node/test-lts build
- current # generates node/test-current build
- node/test:
version: lts
matrix:
parameters:
run-command:
- chromatic # generates node/test-chromatic build
requires:
- node/test-lts # depends on specifc build from previous matrix