From 6c1466d327e6f4c2ae3d5e0b192bdbe474621620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kh=E1=BA=A3i?= Date: Thu, 18 Feb 2021 08:30:07 +0700 Subject: [PATCH] Make some tweaks to example code snippets --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9b445b2..7e4e7c5 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ jobs: steps: - uses: pnpm/action-setup@v1.2.1 with: - version: 4.11.1 + version: 5.17.2 ``` ### Install PNPM and a few NPM packages @@ -85,16 +85,14 @@ jobs: - uses: pnpm/action-setup@v1.2.1 with: - version: 4.11.1 + version: 5.17.2 run_install: | - recursive: true args: [--frozen-lockfile, --strict-peer-dependencies] - args: [--global, gulp, prettier, typescript] ``` -### Cache - -To speed up install times +### Use cache to reduce installation time ```yaml on: @@ -124,7 +122,7 @@ jobs: run_install: true ``` -You don't need to run `pnpm store prune` at the end; this package will take care of that for you. +**Note:** You don't need to run `pnpm store prune` at the end; post-action has already taken care of that. ## Notes