Skip to content

Commit c40d85e

Browse files
committed
Add .circleci/config.yml
1 parent 009abb0 commit c40d85e

File tree

1 file changed

+13
-21
lines changed

1 file changed

+13
-21
lines changed

.circleci/config.yml

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,22 @@
22
# See: https://circleci.com/docs/configuration-reference
33
version: 2.1
44

5-
# Define a job to be invoked later in a workflow.
6-
# See: https://circleci.com/docs/jobs-steps/#jobs-overview & https://circleci.com/docs/configuration-reference/#jobs
7-
jobs:
8-
say-hello:
9-
# Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
10-
# See: https://circleci.com/docs/executor-intro/ & https://circleci.com/docs/configuration-reference/#executor-job
11-
docker:
12-
# Specify the version you desire here
13-
# See: https://circleci.com/developer/images/image/cimg/base
14-
- image: cimg/base:current
15-
16-
# Add steps to the job
17-
# See: https://circleci.com/docs/jobs-steps/#steps-overview & https://circleci.com/docs/configuration-reference/#steps
18-
steps:
19-
# Checkout the code as the first step.
20-
- checkout
21-
- run:
22-
name: "Say hello"
23-
command: "echo Hello, World!"
5+
# 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.
6+
# See: https://circleci.com/docs/orb-intro/
7+
orbs:
8+
# See the Node orb documentation here: https://circleci.com/developer/orbs/orb/circleci/node
9+
node: circleci/node@5.2
2410

2511
# Orchestrate jobs using workflows
2612
# See: https://circleci.com/docs/workflows/ & https://circleci.com/docs/configuration-reference/#workflows
2713
workflows:
28-
say-hello-workflow: # This is the name of the workflow, feel free to change it to better match your workflow.
14+
sample: # This is the name of the workflow, feel free to change it to better match your workflow.
2915
# Inside the workflow, you define the jobs you want to run.
3016
jobs:
31-
- say-hello
17+
- node/test:
18+
# This is the node version to use for the `cimg/node` tag
19+
# Relevant tags can be found on the CircleCI Developer Hub
20+
# https://circleci.com/developer/images/image/cimg/node
21+
version: '16.10'
22+
# If you are using yarn, change the line below from "npm" to "yarn"
23+
pkg-manager: npm

0 commit comments

Comments
 (0)