From 37211d61f69e7ab4dc583e5749b1cc858299ebf4 Mon Sep 17 00:00:00 2001 From: metaory Date: Fri, 2 Aug 2024 20:02:27 +0800 Subject: [PATCH] fix ci changeset --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fe0e765..5ce1db2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,8 +30,8 @@ jobs: git config --global user.signingkey ${{ secrets.XCI_GPG }} git config --global commit.gpgsign true - # - name: Install dependencies - # run: npm i -D @changesets/cli @changesets/changelog-github + - name: Install dependencies + run: npm i -D @changesets/cli @changesets/changelog-github - name: Build artifact run: npm run build @@ -39,8 +39,8 @@ jobs: - name: Release PR uses: changesets/action@v1 with: - version: npx changeset version - publish: npx changeset publish + version: npm exec changeset version + publish: npm exec changeset publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}