From ffb2770d5bcbbbd94d14ace856ac649832ba7467 Mon Sep 17 00:00:00 2001 From: OMi3 Date: Mon, 9 Sep 2024 02:24:33 +0000 Subject: [PATCH] . --- .github/workflows/release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da558f0..9ba530b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,10 +2,9 @@ name: Release on: push: - branches: ["main"] - tags: ["v*.*.*"] + branches: [main] pull_request: - branches: ["main"] + branches: [main] concurrency: ${{ github.workflow }}-${{ github.ref }} @@ -36,16 +35,16 @@ jobs: - run: pnpm install --frozen-lockfile - name: Create Release Pull Request - uses: changesets/action@v1 if: github.event_name == 'pull_request' + uses: changesets/action@v1 with: - version: pnpm version-packages + version: pnpm changeset version env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish to npm - uses: changesets/action@v1 if: github.event_name == 'push' && github.ref == 'refs/heads/main' + uses: changesets/action@v1 with: publish: pnpm release env: