config.yml 1.0 KB

123456789101112131415161718192021
  1. # This config is equivalent to both the '.circleci/extended/orb-free.yml' and the base '.circleci/config.yml'
  2. version: 2.1
  3. # 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.
  4. # See: https://circleci.com/docs/orb-intro/
  5. orbs:
  6. node: circleci/node@4.7
  7. # Invoke jobs via workflows
  8. # See: https://circleci.com/docs/configuration-reference/#workflows
  9. workflows:
  10. sample: # This is the name of the workflow, feel free to change it to better match your workflow.
  11. # Inside the workflow, you define the jobs you want to run.
  12. jobs:
  13. - node/test:
  14. # This is the node version to use for the `cimg/node` tag
  15. # Relevant tags can be found on the CircleCI Developer Hub
  16. # https://circleci.com/developer/images/image/cimg/node
  17. version: '16.10'
  18. # If you are using yarn, change the line below from "npm" to "yarn"
  19. pkg-manager: npm