GitLab CI/CD 1 · Caching, artifacts and ordering

Run a job for several versions

Create one job per variable combination.

test-job:
  parallel:
    matrix:
      - NODE_VERSION: ["22", "24"]
  image: node:$NODE_VERSION
  script:
    - npm test

Official GitLab CI/CD 1 documentation

More caching, artifacts and ordering commands

All caching, artifacts and ordering commands · GitLab CI/CD 1 cheatsheet

Was this page helpful?