Add .circleci/config.yml

This commit is contained in:
fallingicarus 2021-11-21 03:53:45 -06:00
parent 0e1cf3c5db
commit cbd4ba1b0f

View file

@ -1,13 +1,10 @@
# Use the latest 2.1 version of CircleCI pipeline process engine. # This config is equivalent to both the '.circleci/extended/orb-free.yml' and the base '.circleci/config.yml'
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1 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. # 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/ # See: https://circleci.com/docs/2.0/orb-intro/
orbs: orbs:
node: circleci/node@4.1 node: circleci/node@4.7
# 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 # Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows # See: https://circleci.com/docs/2.0/configuration-reference/#workflows
@ -16,10 +13,9 @@ workflows:
# Inside the workflow, you define the jobs you want to run. # Inside the workflow, you define the jobs you want to run.
jobs: jobs:
- node/test: - node/test:
matrix: # This is the node version to use for the `cimg/node` tag
parameters: # Relevant tags can be found on the CircleCI Developer Hub
version: ["15.1", "lts", "12.21"] # https://circleci.com/developer/images/image/cimg/node
# For more information about matrix testing see the detailed blog post: version: '16.10'
# https://circleci.com/blog/circleci-matrix-jobs/ # If you are using yarn, change the line below from "npm" to "yarn"
# or the configuration reference: pkg-manager: npm
# https://circleci.com/docs/2.0/configuration-reference/?section=reference#matrix-requires-version-21