mirror of https://github.com/status-im/metro.git
Fix the npm publishing workflow from circleCI
Reviewed By: mjesun Differential Revision: D7229135 fbshipit-source-id: 7065d70c66c0cc1f4e8c18e93f5439e477c0d680
This commit is contained in:
parent
f518bf9fd1
commit
b8d20a089c
|
@ -80,13 +80,7 @@ jobs:
|
|||
- save-cache: *save-cache
|
||||
- run:
|
||||
working_directory: ~/metro
|
||||
run: yarn build
|
||||
- run:
|
||||
working_directory: packages/metro
|
||||
command: |
|
||||
yarn prepare-release
|
||||
npm publish
|
||||
yarn cleanup-release
|
||||
command: yarn run publish
|
||||
test-and-deploy-website:
|
||||
working_directory: ~/metro
|
||||
docker:
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
"lint": "eslint . --cache",
|
||||
"lint-fix": "eslint . --fix --cache",
|
||||
"postinstall": "node ./scripts/build.js",
|
||||
"publish": "yarn run build-clean && yarn run build && lerna run prepare-release && lerna publish",
|
||||
"publish": "yarn run build-clean && yarn run build && lerna run prepare-release && lerna exec -- npm publish",
|
||||
"postpublish": "lerna run cleanup-release",
|
||||
"test-ci": "yarn run typecheck && yarn run lint && yarn run build && yarn run jest-coverage -i && node scripts/mapCoverage.js && codecov",
|
||||
"test": "yarn run typecheck && yarn run lint && yarn run build && yarn run jest",
|
||||
|
|
Loading…
Reference in New Issue