Skip to content

Commit 58e34ae

Browse files
committed
feat: ci publish test
1 parent dd9a8eb commit 58e34ae

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
command: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/repo/.npmrc
4747
- run:
4848
name: Publish CLI
49-
command: cat .npmrc && npm run publish
49+
command: npm run publish
5050

5151
workflows:
5252
version: 2

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ app/
99
node_modules/
1010
src/build/
1111
coverage/
12-
./.npmrc

lerna.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
2-
"packages": [
3-
"packages/*"
4-
],
2+
"command": {
3+
"publish": {
4+
"ignoreChanges": ["*.npmrc"]
5+
}
6+
},
7+
"packages": ["packages/*"],
58
"version": "0.2.6"
69
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"build": "lerna bootstrap",
88
"test": "cd packages/e2e && npm test",
9-
"publish": "lerna publish patch --registry=https://registry.npmjs.org/ --yes"
9+
"publish": "lerna publish patch --yes"
1010
},
1111
"repository": {
1212
"type": "git",

0 commit comments

Comments
 (0)