From 0587d0b78a65811c8de44c111b5548cf7297764c Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Fri, 20 May 2022 21:40:22 +0800 Subject: [PATCH] chore: use `packageManager` field --- .github/workflows/test.yml | 8 +++----- package.json | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3445704c..a8dec8a0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,15 +10,13 @@ jobs: node-version: [14, 16] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install pnpm - uses: pnpm/action-setup@v2.0.1 - with: - version: 6.15.1 + uses: pnpm/action-setup@v2 - name: Set node version to ${{ matrix.node_version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node_version }} cache: 'pnpm' diff --git a/package.json b/package.json index 6e1cb106..c9cf4af6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "vitepress", "version": "0.22.4", + "packageManager": "pnpm@7.1.2", "description": "Vite & Vue powered static site generator", "main": "dist/node/index.js", "typings": "types/index.d.ts",