diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bdb3749..dd27c85 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,7 +78,7 @@ jobs: - name: Set PACKAGE_VERSION run: echo "PACKAGE_VERSION=$(cat lerna.json | jq -r .version)" >> $GITHUB_ENV - name: Install - run: yarn install + run: npm install - name: Publish run: npm run ci:release env: diff --git a/package.json b/package.json index f0b95d3..ba8eae3 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "ci:versionup:major": "lerna version major --no-push --no-git-tag-version --yes && npm run commit-version", "commit-version": "git add . && git commit -m \"chore(release): v`node -p 'require(\"./lerna.json\").version'`\"", "release": "lerna publish from-package", - "ci:release": "lerna publish from-package --yes" + "ci:release": "npm run build && lerna publish from-package --yes" }, "keywords": [], "author": "",