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
|
- save-cache: *save-cache
|
||||||
- run:
|
- run:
|
||||||
working_directory: ~/metro
|
working_directory: ~/metro
|
||||||
run: yarn build
|
command: yarn run publish
|
||||||
- run:
|
|
||||||
working_directory: packages/metro
|
|
||||||
command: |
|
|
||||||
yarn prepare-release
|
|
||||||
npm publish
|
|
||||||
yarn cleanup-release
|
|
||||||
test-and-deploy-website:
|
test-and-deploy-website:
|
||||||
working_directory: ~/metro
|
working_directory: ~/metro
|
||||||
docker:
|
docker:
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
"lint": "eslint . --cache",
|
"lint": "eslint . --cache",
|
||||||
"lint-fix": "eslint . --fix --cache",
|
"lint-fix": "eslint . --fix --cache",
|
||||||
"postinstall": "node ./scripts/build.js",
|
"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",
|
"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-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",
|
"test": "yarn run typecheck && yarn run lint && yarn run build && yarn run jest",
|
||||||
|
|
Loading…
Reference in New Issue