diff --git a/.github/actions/pnpm/action.yml b/.github/actions/pnpm/action.yml index 9d472515..99330e58 100644 --- a/.github/actions/pnpm/action.yml +++ b/.github/actions/pnpm/action.yml @@ -5,7 +5,7 @@ runs: steps: - uses: pnpm/action-setup@v2.2.4 with: - version: 7 + version: 7.32.5 - uses: actions/setup-node@v3 with: cache: 'pnpm' diff --git a/package.json b/package.json index 81610195..ea77c84e 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,15 @@ } } }, + "engines" : { + "node": ">=16", + "pnpm": ">=7.24.2 <7.33.0" + }, + "engines:comment": { + "pnpm": "Our lock file version is 6. PNPM 7.24.2 is the first PNPM version to support version 6 lock files. PNPM 7.33.0 adds support for version 6.1 lock files, so using it results in a `pnpm-lock.yaml` diff." + }, "volta": { - "node": "18.16.0" + "node": "18.16.0", + "pnpm": "7.32.5" } }