File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ workflows:
19
19
filters : *filters
20
20
- shellcheck/check :
21
21
filters : *filters
22
- # Triggers the next workflow in the Orb Development Kit.
23
22
- orb-tools/continue :
24
23
pipeline_number : << pipeline.number >>
25
24
vcs_type : << pipeline.project.type >>
Original file line number Diff line number Diff line change 1
1
version : 2.1
2
2
orbs :
3
- # Your orb will be automatically injected here during the pipeline.
4
- # Reference your orb's jobs and commands below as they will exist when built.
5
3
orb-tools :
circleci/[email protected]
6
4
# The orb definition is intentionally not included here. It will be injected into the pipeline.
7
5
<orb-name> : {}
8
6
9
- # Use this tag to ensure test jobs always run,
10
- # even though the downstream publish job will only run on release tags.
11
7
filters : &filters
12
8
tags :
13
9
only : /.*/
@@ -20,30 +16,25 @@ release-filters: &release-filters
20
16
only : /^v[0-9]+\.[0-9]+\.[0-9]+$/
21
17
22
18
jobs :
23
- # Create jobs to test the commands of your orbs.
24
- # You may want to add additional validation steps to ensure the commands are working as expected.
25
19
command-test :
26
20
docker :
27
21
- image : cimg/base:current
28
22
steps :
29
23
- checkout
30
- # Run your orb's commands to validate them.
31
24
- yarn_install
32
25
workflows :
33
26
test-deploy :
34
27
jobs :
35
- # Make sure to include "filters: *filters" in every test job you want to run as part of your deployment.
36
- # Test your orb's commands in a custom job and test your orb's jobs directly as a part of this workflow.
37
28
- command-test :
38
29
filters : *filters
39
- # The orb must be re-packed for publishing, and saved to the workspace.
30
+
40
31
- orb-tools/pack :
41
32
filters : *release-filters
33
+
42
34
- orb-tools/publish :
43
35
orb_name : react-native-community/react-native
44
36
vcs_type : << pipeline.project.type >>
45
37
pub_type : production
46
- # Ensure this job requires all test jobs and the pack job.
47
38
requires :
48
39
- orb-tools/pack
49
40
- command-test
You can’t perform that action at this time.
0 commit comments