diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index 4251b97960..48d0a91098 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -15,8 +15,6 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v2.2.4 - with: - version: 7 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 233897b3c3..80f9072a8f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,8 +16,6 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v2.2.4 - with: - version: 7 - name: Get pnpm store directory id: pnpm-cache diff --git a/package.json b/package.json index 4b3b46e5d0..547825b449 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "ahooks", "private": true, + "packageManager": "pnpm@7.33.6", "repository": { "type": "git", "url": "git+https://github.com/alibaba/hooks.git"