diff --git a/.github/workflows/dev-release.yml b/.github/workflows/dev-release.yml index a8d9322..0ad4d23 100644 --- a/.github/workflows/dev-release.yml +++ b/.github/workflows/dev-release.yml @@ -5,7 +5,7 @@ on: jobs: release: - if: ${{ contains(github.event.pull_request.labels.*.name, 'release dev tag') }} + if: ${{ github.event.label.name == 'release dev tag' }} runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 diff --git a/package.json b/package.json index 0ea0721..166a64a 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "prepare": "husky install", "lint": "tsc --noEmit && prettier --loglevel warn --write . && eslint --fix .", "copy-readme": "cp README.md dist/README.md", - "publish:ci": "pnpm publish && npx changeset tag && git push --follow-tags", + "publish:ci": "pnpm publish --dry-run && pnpm exec changeset tag && git push --follow-tags", "lint-staged": "lint-staged" }, "keywords": [],