From c27e9ac8814aa04f5d70acc018eaf9c52939de58 Mon Sep 17 00:00:00 2001 From: Evan Ye Date: Sun, 10 Nov 2024 16:29:13 +0800 Subject: [PATCH] update release --- .github/workflows/release.yml | 19 ++++++++----------- .gitignore | 1 + 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cdeeb69..1f8c192 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -104,20 +104,17 @@ jobs: - name: Install Dependencies run: pnpm install - - name: Create Release Pull Request or Publish to npm - id: changesets - uses: changesets/action@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Download all artifacts - # if: steps.changesets.outputs.hasChangesets == 'false' uses: actions/download-artifact@v4 with: path: packages pattern: '*-*' - - name: Publish to npm - # if: steps.changesets.outputs.hasChangesets == 'false' - run: pnpm publish -r --no-git-checks + - name: Create Release Pull Request or Publish to npm + id: changesets + uses: changesets/action@v1 + with: + publish: pnpm publish -r + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.gitignore b/.gitignore index 8071de3..1433860 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_Store node_modules target +packages/*/bin/*