diff --git a/.github/workflows/publish_package.yml b/.github/workflows/publish_package.yml index 4b4e63e..a398f4e 100644 --- a/.github/workflows/publish_package.yml +++ b/.github/workflows/publish_package.yml @@ -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 }} diff --git a/package.json b/package.json index 5ec2b5e..d445ad4 100644 --- a/package.json +++ b/package.json @@ -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": [ diff --git a/packages/common/package.json b/packages/common/package.json index fcf39af..f690037 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -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/"