File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
1
version : 2.1
2
2
orbs :
3
3
codecov :
codecov/[email protected]
4
+
4
5
jobs :
5
6
build :
6
7
working_directory : ~/react-forms
7
8
docker :
8
- - image : circleci/node:16
9
+ - image : ' cimg/base:stable '
9
10
steps :
10
11
- checkout
11
- - run :
12
- name : update-npm
13
- command : ' sudo npm install -g npm@latest '
12
+ - node/install :
13
+ install-yarn : true
14
+ node-version : ' 16.13 '
14
15
- run :
15
16
name : install-deps
16
17
command : yarn
@@ -33,10 +34,13 @@ jobs:
33
34
release :
34
35
working_directory : ~/react-forms
35
36
docker :
36
- - image : circleci/node:16
37
+ - image : ' cimg/base:stable '
37
38
steps :
38
39
- attach_workspace :
39
40
at : ~/react-forms
41
+ - node/install :
42
+ install-yarn : true
43
+ node-version : ' 16.13'
40
44
- run :
41
45
name : Release new version
42
46
command : |
@@ -45,10 +49,13 @@ jobs:
45
49
predeploy :
46
50
working_directory : ~/react-forms
47
51
docker :
48
- - image : circleci/node:16
52
+ - image : ' cimg/base:stable '
49
53
steps :
50
54
- attach_workspace :
51
55
at : ~/react-forms
56
+ - node/install :
57
+ install-yarn : true
58
+ node-version : ' 16.13'
52
59
- run :
53
60
name : Predeploy demo
54
61
command : |
@@ -60,10 +67,13 @@ jobs:
60
67
deploy :
61
68
working_directory : ~/react-forms
62
69
docker :
63
- - image : circleci/node:16
70
+ - image : ' cimg/base:stable '
64
71
steps :
65
72
- attach_workspace :
66
73
at : ~/react-forms
74
+ - node/install :
75
+ install-yarn : true
76
+ node-version : ' 16.13'
67
77
- run :
68
78
name : Deploy demo
69
79
command : |
You can’t perform that action at this time.
0 commit comments