Skip to content

Commit 8ea1c42

Browse files
committed
chore: migrate from npm to pnpm
- Replace package-lock.json with pnpm-lock.yaml - Set packageManager to pnpm@10.23.0 - Add minimumReleaseAge: 10080 (7 days) for supply chain protection - Update CI workflows for pnpm
1 parent b400e55 commit 8ea1c42

File tree

8 files changed

+52022
-20409
lines changed

8 files changed

+52022
-20409
lines changed

.github/workflows/prepare.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ jobs:
2020
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2121
with:
2222
token: ${{ steps.app-token.outputs.token }}
23+
- name: Install pnpm
24+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
2325
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
2426
with:
2527
node-version: "lts/*"
26-
cache: "npm"
28+
cache: 'pnpm'
2729
- name: Install dependencies
2830
run: npm ci
2931
- uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
18+
- name: Install pnpm
19+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
1820
- name: Use Node.js
1921
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
2022
with:
2123
node-version: "lts/*"
22-
cache: "npm"
24+
cache: 'pnpm'
2325
- name: Install Dependencies
2426
run: npm ci
2527

0 commit comments

Comments
 (0)