# Use the latest 2.1 version of CircleCI pipeline process engine. # See: https://circleci.com/docs/2.0/configuration-reference version: 2.1 # Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects. # See: https://circleci.com/docs/2.0/orb-intro/ orbs: node: circleci/node@4.1 # The Node.js orb contains a set of prepackaged CircleCI configuration you can utilize # See the orb's test job here: https://circleci.com/developer/orbs/orb/circleci/node#jobs-test # Invoke jobs via workflows # See: https://circleci.com/docs/2.0/configuration-reference/#workflows workflows: sample: # This is the name of the workflow, feel free to change it to better match your workflow. # Inside the workflow, you define the jobs you want to run. jobs: - node/test: matrix: parameters: version: ["15.1", "lts", "12.21"] # For more information about matrix testing see the detailed blog post: # https://circleci.com/blog/circleci-matrix-jobs/ # or the configuration reference: # https://circleci.com/docs/2.0/configuration-reference/?section=reference#matrix-requires-version-21