From 1f900900cd70c1b915a67bde77027d683c85d678 Mon Sep 17 00:00:00 2001 From: Tobias Date: Fri, 1 Nov 2024 06:52:38 +0100 Subject: [PATCH] Update example-basic-pnpm.yml - Add hint how to omit setting the pnpm version explicitly - Add hint that `use-node-version` is not supported yet --- .github/workflows/example-basic-pnpm.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/example-basic-pnpm.yml b/.github/workflows/example-basic-pnpm.yml index 19e1918de..ed8db0ec4 100644 --- a/.github/workflows/example-basic-pnpm.yml +++ b/.github/workflows/example-basic-pnpm.yml @@ -21,6 +21,8 @@ jobs: # See https://github.com/pnpm/action-setup - name: Install pnpm uses: pnpm/action-setup@v4 + # Optional when there is a `packageManager` field in the `package.json`. + # See https://github.com/pnpm/action-setup?tab=readme-ov-file#version with: version: 9 @@ -28,6 +30,8 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: + # Note that pnpm `use-node-version` is not supported, yet + # See https://github.com/actions/setup-node/issues/1130 node-version: 20 cache: 'pnpm' cache-dependency-path: examples/basic-pnpm/pnpm-lock.yaml