Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
fix: cicd commands
Browse files Browse the repository at this point in the history
  • Loading branch information
arantespp committed Mar 10, 2022
1 parent 83f88ab commit 4485f9a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
11 changes: 5 additions & 6 deletions cicd/commands/main
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash

yarn lerna run "build" --stream
yarn lerna run "test" --stream
yarn lerna version --yes
yarn lerna run "deploy" --stream
yarn build
yarn test
yarn version
export CARLIN_ENVIRONMENT=Production
yarn deploy
6 changes: 2 additions & 4 deletions cicd/commands/pr
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/bash

yarn lerna run "build" --stream
yarn lerna run "test" --stream
yarn build
yarn test
3 changes: 1 addition & 2 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@
},
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.21.1",
"stream": true
"version": "0.21.1"
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
"private": true,
"description": "",
"scripts": {
"build": "lerna run build",
"test": "lerna run test",
"deploy": "lerna run deploy",
"version": "lerna version --yes",
"list-packages": "lerna ls",
"list-updates": "npx ncu && lerna exec -- npx ncu",
"update-all": "npx ncu -u && lerna exec -- npx ncu -u",
"reinstall": "yarn run remove-all-node-modules && yarn",
"remove-all-node-modules": "npx lerna exec -- rm -rf node_modules && rm -rf node_modules && rm -f yarn.lock",
"publish": "lerna publish && lerna run deploy --scope carlin-website",
"version": "lerna version",
"test": "lerna run test",
"deploy": "lerna run deploy",
"prepare": "husky install"
},
"repository": {
Expand Down

0 comments on commit 4485f9a

Please sign in to comment.