Skip to content

Commit 629237d

Browse files
committed
refactor: move release under test-deploy workflow
1 parent 78b9db9 commit 629237d

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.circleci/config.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ setup: true
33
orbs:
44
orb-tools: circleci/[email protected]
55
shellcheck: circleci/[email protected]
6-
node: circleci/[email protected]
76

87
filters: &filters
98
tags:
@@ -27,13 +26,3 @@ workflows:
2726
orb_name: react-native
2827
requires: [orb-tools/lint, orb-tools/pack, orb-tools/review, shellcheck/check]
2928
filters: *filters
30-
31-
release:
32-
jobs:
33-
- node/run:
34-
yarn-run: semantic-release
35-
version: "20.11"
36-
pkg-manager: yarn
37-
filters:
38-
branches:
39-
only: master

.circleci/test-deploy.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
version: 2.1
22
orbs:
33
orb-tools: circleci/[email protected]
4+
node: circleci/[email protected]
45
# The orb definition is intentionally not included here. It will be injected into the pipeline.
56
react-native: {}
67

@@ -29,6 +30,16 @@ workflows:
2930
- command-test:
3031
filters: *filters
3132

33+
- node/run:
34+
yarn-run: semantic-release
35+
version: "20.11"
36+
pkg-manager: yarn
37+
requires:
38+
- command-test
39+
filters:
40+
branches:
41+
only: master
42+
3243
- orb-tools/pack:
3344
filters: *release-filters
3445

0 commit comments

Comments
 (0)