In my projects, I'm trying to specify exact versions of dependencies (including node and pnpm).
I would like to specify a version of pnpm once in package.json and reuse in pnpm/action-setup action
package.json has engines section for this
{
"engines": {
"pnpm": "7.32.5"
},
}
Would be great, if pnpm/action-setup could support this field.
Note: actions/setup-node supports engines.node via node-version-file property.
I'm also aware of packageManager property of package.json, but with it – I can't enforce exact version of PNPM, however with engines.pnpm + engine-strict=true - I can, so everyone in the team has same environment
It might be related to this: #24
In my projects, I'm trying to specify exact versions of dependencies (including
nodeandpnpm).I would like to specify a version of
pnpmonce inpackage.jsonand reuse inpnpm/action-setupactionpackage.jsonhasenginessection for this{ "engines": { "pnpm": "7.32.5" }, }Would be great, if
pnpm/action-setupcould support this field.Note:
actions/setup-nodesupportsengines.nodevianode-version-fileproperty.I'm also aware of
packageManagerproperty ofpackage.json, but with it – I can't enforce exact version of PNPM, however withengines.pnpm+engine-strict=true- I can, so everyone in the team has same environmentIt might be related to this: #24