Compare commits

..

1 Commits

Author SHA1 Message Date
Thai Pangsakulyanont
2456272c65
Merge a3d5f0afbc into 11dd14d0c0 2023-04-22 11:17:59 -07:00
3 changed files with 3 additions and 4 deletions

View File

@ -64,7 +64,7 @@ jobs:
steps: steps:
- uses: pnpm/action-setup@v2 - uses: pnpm/action-setup@v2
with: with:
version: 8 version: 6.0.2
``` ```
### Install pnpm and a few npm packages ### Install pnpm and a few npm packages
@ -83,7 +83,7 @@ jobs:
- uses: pnpm/action-setup@v2 - uses: pnpm/action-setup@v2
with: with:
version: 8 version: 6.0.2
run_install: | run_install: |
- recursive: true - recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies] args: [--frozen-lockfile, --strict-peer-dependencies]

View File

@ -6,7 +6,6 @@ branding:
inputs: inputs:
version: version:
description: Version of pnpm to install description: Version of pnpm to install
required: false
dest: dest:
description: Where to store pnpm files description: Where to store pnpm files
required: false required: false

View File

@ -49,7 +49,7 @@ Otherwise, please specify the pnpm version in the action configuration.`)
throw new Error(`No pnpm version is specified. throw new Error(`No pnpm version is specified.
Please specify it by one of the following ways: Please specify it by one of the following ways:
- in the GitHub Action config with the key "version" - in the GitHub Action config with the key "version"
- in the package.json with the key "packageManager"`) - in the package.json with the key "packageManager" (See https://nodejs.org/api/corepack.html)`)
} }
if (!packageManager.startsWith('pnpm@')) { if (!packageManager.startsWith('pnpm@')) {