Skip to content

Commit

Permalink
chore: Update deployment scripts for CI and modify package publish co…
Browse files Browse the repository at this point in the history
…mmands
  • Loading branch information
trungbach committed Nov 7, 2024
1 parent f2a45cd commit 5e4b9ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Publish Oraichain Common
id: publish-oraichain-common
continue-on-error: true
run: yarn deploy
run: yarn deploy:ci
env:
CI: false
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"clean": "nx reset && lerna clean --yes && lerna exec -- rimraf build/ dist/ cache/",
"build": "lerna run build --concurrency 1",
"build-tsc": "tsc -p",
"deploy": "lerna publish from-package",
"deploy": "yarn build && lerna publish",
"deploy:ci": "lerna publish from-package --yes",
"build:docker": "lerna run build --concurrency 1"
},
"workspaces": [
Expand Down
3 changes: 1 addition & 2 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"main": "build/index.js",
"license": "MIT",
"scripts": {
"build": "tsc -p tsconfig.json",
"deploy": "yarn npm publish --access public"
"build": "tsc -p tsconfig.json"
},
"files": [
"build/"
Expand Down

0 comments on commit 5e4b9ae

Please sign in to comment.