mirror of
https://github.com/status-im/metro.git
synced 2025-01-19 15:41:26 +00:00
Straightforward deploy approach
Summary: <!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. The two fields below are mandatory. --> **Summary** As rafeca mentioned on Discord channel, `deploy` script fails. This PR is composed with intention to fix this error. **Test plan** - Try to deploy a new version using CircleCI config from this PR <!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. --> Closes https://github.com/facebook/metro-bundler/pull/94 Reviewed By: mjesun Differential Revision: D6405189 Pulled By: rafeca fbshipit-source-id: 9adca768044515784474aa6f71ca6f733db5b07e
This commit is contained in:
parent
b6a4185158
commit
95c1eda902
17
circle.yml
17
circle.yml
@ -10,13 +10,6 @@ aliases:
|
|||||||
- node_modules
|
- node_modules
|
||||||
key: dependencies-{{ .Branch }}-{{ checksum "package.json" }}
|
key: dependencies-{{ .Branch }}-{{ checksum "package.json" }}
|
||||||
|
|
||||||
- &deploy
|
|
||||||
working_directory: packages/metro-bundler
|
|
||||||
steps:
|
|
||||||
- run: npm run prepare-release
|
|
||||||
- run: npm publish
|
|
||||||
- run: npm run cleanup-release
|
|
||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
test-node-9:
|
test-node-9:
|
||||||
@ -64,7 +57,15 @@ jobs:
|
|||||||
working_directory: packages/metro-bundler
|
working_directory: packages/metro-bundler
|
||||||
command: yarn --no-progress
|
command: yarn --no-progress
|
||||||
- save-cache: *save-cache
|
- save-cache: *save-cache
|
||||||
- deploy: *deploy
|
- run:
|
||||||
|
working_directory: ~/metro-bundler/
|
||||||
|
run: yarn build
|
||||||
|
- run:
|
||||||
|
working_directory: packages/metro-bundler
|
||||||
|
command: |
|
||||||
|
yarn prepare-release
|
||||||
|
npm publish
|
||||||
|
yarn cleanup-release
|
||||||
|
|
||||||
# Workflows enables us to run multiple jobs in parallel
|
# Workflows enables us to run multiple jobs in parallel
|
||||||
workflows:
|
workflows:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user