Commit 02a0951 1 parent dc520f0 commit 02a0951 Copy full SHA for 02a0951
File tree 1 file changed +12
-5
lines changed
1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,15 @@ parameters:
6
6
type : string
7
7
default : pipeline
8
8
9
- defaults : &defaults
9
+ default-job : &default-job
10
10
working_directory : /tmp/mui
11
11
docker :
12
12
- image : cimg/node:18.16
13
13
14
+ default-context : &default-context
15
+ context :
16
+ - org-global
17
+
14
18
commands :
15
19
install_js :
16
20
steps :
@@ -44,7 +48,7 @@ commands:
44
48
45
49
jobs :
46
50
checkout :
47
- << : *defaults
51
+ << : *default-job
48
52
steps :
49
53
- checkout
50
54
- install_js
@@ -55,15 +59,15 @@ jobs:
55
59
name : Check for duplicated packages
56
60
command : yarn deduplicate
57
61
test_lint :
58
- << : *defaults
62
+ << : *default-job
59
63
steps :
60
64
- checkout
61
65
- install_js
62
66
- run :
63
67
name : Eslint
64
68
command : yarn eslint:ci
65
69
test_static :
66
- << : *defaults
70
+ << : *default-job
67
71
steps :
68
72
- checkout
69
73
- install_js
@@ -76,10 +80,13 @@ workflows:
76
80
when :
77
81
equal : [pipeline, << pipeline.parameters.workflow >>]
78
82
jobs :
79
- - checkout
83
+ - checkout :
84
+ << : *default-context
80
85
- test_lint :
86
+ << : *default-context
81
87
requires :
82
88
- checkout
83
89
- test_static :
90
+ << : *default-context
84
91
requires :
85
92
- checkout
You can’t perform that action at this time.
0 commit comments