Skip to content

Commit 96df1bb

Browse files
committed
build: Add release step to CI
1 parent 583dbe8 commit 96df1bb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.circleci/config.yml

+15
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,24 @@ jobs:
1111
- gusto/yarn-install
1212
- run: yarn lint
1313
- run: yarn test
14+
release:
15+
docker:
16+
- image: circleci/node:12
17+
steps:
18+
- checkout
19+
- gusto/yarn-install
20+
# Run optional required steps before releasing
21+
# - run: npm run build-script
22+
- run: npx semantic-release
1423

1524
workflows:
1625
version: 2
1726
main:
1827
jobs:
1928
- test
29+
- release:
30+
filters:
31+
branches:
32+
only: master
33+
requires:
34+
- test

0 commit comments

Comments
 (0)