Skip to content

Commit f0fc5b9

Browse files
authored
Merge pull request #2031 from auth0/orb-publishing
Automate package publishing
2 parents 6c5a793 + 848406e commit f0fc5b9

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.circleci/config.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
version: 2.1
2+
orbs:
3+
ship: auth0/[email protected]
24
executors:
35
docker-executor:
46
docker:
@@ -61,12 +63,22 @@ jobs:
6163
command: yarn test:e2e:browserstack
6264

6365
workflows:
64-
version: 2
6566
build-test-report:
6667
jobs:
6768
- build-and-test
6869
- browserstack:
6970
requires:
7071
- build-and-test
7172
context:
72-
- browserstack-env
73+
- browserstack-env
74+
- ship/node-publish:
75+
pkg-manager: yarn
76+
requires:
77+
- browserstack
78+
context:
79+
- publish-npm
80+
- publish-gh
81+
filters:
82+
branches:
83+
only:
84+
- master

scripts/ci.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,5 @@ new_line
9999
cdn_release "$VERSION"
100100
new_line
101101

102-
# Build & Release NPM
103-
yarn prepublish
104-
npm_release "$VERSION"
105-
106102
git checkout master
107103
git branch -D dist

0 commit comments

Comments
 (0)