diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd495a0..b08ae8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,6 @@ name: CI on: pull_request: - push: branches: [main] jobs: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 380616f..db59b44 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,10 +34,15 @@ jobs: - name: Install run: pnpm install --frozen-lockfile + - name: Build + run: pnpm run build + - name: Create Release Pull Request or Publish to npm uses: changesets/action@v1 with: - version: pnpm -s version-packages - publish: pnpm -s release + version: pnpm version-packages + publish: pnpm release + commit: 'chore(release): version packages' + title: 'chore(release): version packages' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}