From 0e72861cf27ead69df85b82bfbacb01eb5b93ed6 Mon Sep 17 00:00:00 2001 From: icodesign Date: Sun, 21 Jul 2024 11:55:04 +0800 Subject: [PATCH] Refine release workflow --- .github/workflows/release-package.yml | 6 ++++-- .gitignore | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 1d82d70..9bb6582 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -20,7 +20,7 @@ jobs: - uses: pnpm/action-setup@v4 name: Install pnpm with: - version: 8 + version: 9.4.0 run_install: false - name: Install Node.js @@ -45,7 +45,9 @@ jobs: - name: Create and publish versions uses: changesets/action@v1 with: - publish: pnpm publish + commit: 'CI: Version Packages' + title: 'CI: Version Packages' + publish: pnpm ci:publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.gitignore b/.gitignore index 3224a90..0ecbefe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +.pnpm-store +.npmrc + # Created by https://www.toptal.com/developers/gitignore/api/node # Edit at https://www.toptal.com/developers/gitignore?templates=node