setup-go/.circleci/config.yml

22 lines
1 KiB
YAML
Raw Normal View History

2021-11-21 03:53:45 -06:00
# This config is equivalent to both the '.circleci/extended/orb-free.yml' and the base '.circleci/config.yml'
2021-10-25 11:17:55 -05:00
version: 2.1
2021-11-21 03:52:50 -06:00
# 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:
2021-11-21 03:53:45 -06:00
node: circleci/node@4.7
2021-10-25 11:17:55 -05:00
# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
2021-11-21 03:52:50 -06:00
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.
2021-10-25 11:17:55 -05:00
jobs:
2021-11-21 03:52:50 -06:00
- node/test:
2021-11-21 03:53:45 -06:00
# This is the node version to use for the `cimg/node` tag
# Relevant tags can be found on the CircleCI Developer Hub
# https://circleci.com/developer/images/image/cimg/node
version: '16.10'
# If you are using yarn, change the line below from "npm" to "yarn"
pkg-manager: npm