Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 9253e41

Browse files
committed
ci: add semantic-release step
1 parent b38ebd6 commit 9253e41

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.circleci/config.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,22 @@ jobs:
8484
name: Atom test
8585
command: ./build-package.sh
8686

87+
88+
release:
89+
<<: *defaults
90+
steps:
91+
# Restore project state
92+
- attach_workspace:
93+
at: /tmp
94+
- run:
95+
name: semantic-release
96+
command: npx semantic-release
97+
# Cache node_modules
98+
- save_cache:
99+
paths:
100+
- node_modules
101+
key: v2-dependencies-{{ checksum "package.json" }}
102+
87103
workflows:
88104
version: 2
89105
test_package:
@@ -95,3 +111,9 @@ workflows:
95111
- beta:
96112
requires:
97113
- checkout_code
114+
- release:
115+
requires:
116+
- stable
117+
filters:
118+
branches:
119+
only: master

0 commit comments

Comments
 (0)