From 10c1e4bfeecd2d7c944a6250bcd690f364e3426b Mon Sep 17 00:00:00 2001 From: m-shaka Date: Thu, 18 Jul 2024 09:54:34 +0900 Subject: [PATCH] fix: use changesets action --- .github/workflows/release.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae22d16e..12b67989 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,13 +44,12 @@ jobs: - run: npm i - - name: Creating .npmrc - run: | - cat << EOF > "$HOME/.npmrc" - //registry.npmjs.org/:_authToken=$NPM_TOKEN - EOF + - name: release + id: changesets + uses: changesets/action@v1 + with: + publish: npm run release env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - - name: Release - run: npm run release + \ No newline at end of file