Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit 28e895f

Browse files
committed
Add .circleci/config.yml
1 parent 26319f9 commit 28e895f

File tree

1 file changed

+21
-27
lines changed

1 file changed

+21
-27
lines changed

.circleci/config.yml

Lines changed: 21 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,26 @@
1-
version: 2
1+
# Use the latest 2.1 version of CircleCI pipeline process engine.
2+
# See: https://circleci.com/docs/2.0/configuration-reference
3+
version: 2.1
4+
5+
# Define a job to be invoked later in a workflow.
6+
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
27
jobs:
3-
build:
8+
say-hello:
9+
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
10+
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
411
docker:
5-
- image: cimg/node:lts-browsers
6-
resource_class: large
7-
working_directory: ~/repo
12+
- image: cimg/base:stable
13+
# Add steps to the job
14+
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
815
steps:
916
- checkout
10-
- restore_cache:
11-
keys:
12-
- v1-dependencies-{{ checksum "package-lock.json" }}
13-
- v1-dependencies-
1417
- run:
15-
name: Install dependencies
16-
command: npm install
17-
- save_cache:
18-
key: v1-dependencies-{{ checksum "package-lock.json" }}
19-
paths:
20-
- node_modules
21-
- run:
22-
name: Build library
23-
command: npm run release
24-
- run:
25-
name: Run unit tests
26-
command: npm run test
27-
# - run:
28-
# name: Run e2e tests
29-
# command: npm run test:e2e
30-
- run:
31-
name: Submit to Codecov
32-
command: npm run codecov
18+
name: "Say hello"
19+
command: "echo Hello, World!"
20+
21+
# Invoke jobs via workflows
22+
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
23+
workflows:
24+
say-hello-workflow:
25+
jobs:
26+
- say-hello

0 commit comments

Comments
 (0)