👷 Pin pnpm in npm install commands#6933
Conversation
Pin pnpm to a specific version when installed via `npm install -g` in the SessionStart and Stop hooks, matching the project's `packageManager` field. Resolves the OSSF Scorecard "npmCommand not pinned by hash" warnings.
|
|
👋 It looks like the PR template was not used for this pull request. Please edit the PR description to use the template, or close this PR and open a new one that uses it. The template includes:
Thank you for your contribution! 🙏 |
@fast-check/ava
fast-check
@fast-check/jest
@fast-check/packaged
@fast-check/poisoning
@fast-check/vitest
@fast-check/worker
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6933 +/- ##
=======================================
Coverage 94.78% 94.78%
=======================================
Files 212 212
Lines 5833 5833
Branches 1535 1536 +1
=======================================
Hits 5529 5529
Misses 296 296
Partials 8 8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Pin pnpm to a specific version when installed via
npm install -gin the SessionStart and Stop hooks, matching the project's
packageManagerfield. Resolves the OSSF Scorecard"npmCommand not pinned by hash" warnings.