This repository was archived by the owner on Aug 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +21
-27
lines changed Expand file tree Collapse file tree 1 file changed +21
-27
lines changed Original file line number Diff line number Diff line change 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
2
7
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
4
11
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
8
15
steps :
9
16
- checkout
10
- - restore_cache :
11
- keys :
12
- - v1-dependencies-{{ checksum "package-lock.json" }}
13
- - v1-dependencies-
14
17
- 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
You can’t perform that action at this time.
0 commit comments