From e3a48a9beb183ee7578843c05dae8b262b5a128d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E8=85=BE=E9=9D=96?= Date: Thu, 29 Aug 2024 01:21:13 +0800 Subject: [PATCH] docs: correct use cache example config --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6d00309..a3ea160 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ jobs: version: 9 ``` -### Install only pnpm with `packageManager` +### Install only pnpm with `packageManager` Omit `version` input to use the version in the [`packageManager` field in the `package.json`](https://nodejs.org/api/corepack.html). @@ -148,7 +148,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - cache: 'pnpm' + cache: pnpm - name: Install dependencies run: pnpm install