diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 41f34fb30..b4c88fbe3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,9 +23,8 @@ jobs: CI: true - name: npm release run: | - npm install -g npm-cli-login - npm-cli-login -e ci@qameta.io - npm run release -- ${GITHUB_REF:10} + npm run version -- ${GITHUB_REF:10} + npm run release env: NPM_USER: ${{ secrets.NPM_USER }} NPM_PASS: ${{ secrets.NPM_PASS }} diff --git a/package.json b/package.json index ba0b33408..a30aa2239 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "build": "npm run clean && npm run link && lerna run build --stream", "test": "npm run build && npm run run-test", "clean": "lerna run clean", - "release": "lerna publish --yes", + "version": "lerna version", + "release": "lerna publish from-package --yes", "lint": "lerna run lint", "lint-fix": "lerna run lint-fix", "run-test": "lerna run test",