From 3a0ce2e3e91ad09e3d85443cb3f3ec5365b5e647 Mon Sep 17 00:00:00 2001 From: Wonsuk Choi Date: Fri, 6 Mar 2026 15:42:04 +0900 Subject: [PATCH] ci(.github/workflows/release): add 'publish' option to 'changesets/action' for GitHub Release creation --- .github/workflows/release.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8673e3eb..f06dbe43 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,20 +39,16 @@ jobs: - name: Type Check run: yarn run test:type - - name: Create Release Pull Request + - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf # v1.7.0 with: title: 'chore: version packages' commit: 'chore: version packages' version: yarn run changeset:version + publish: yarn run changeset:publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Publish to npm - if: steps.changesets.outputs.hasChangesets == 'false' - run: yarn run changeset:publish - env: NPM_CONFIG_PROVENANCE: true get-diffs: