Skip to content

Commit e82ba0a

Browse files
authored
feat: set minimumReleaseAge of 7 days (#363)
update `pnpm` / `nodejs` and configure a `minimumReleaseAge` of 7 days. this is the first change in a series of measures I'll be taking to improve resilience to supply chain attacks. see also: https://pnpm.io/blog/releases/10.16#new-setting-for-delayed-dependency-updates
1 parent 35338ac commit e82ba0a

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ jobs:
1717
node-version: [20.x, 22.x, 24.x]
1818

1919
steps:
20-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121
with:
2222
fetch-depth: 0
2323

2424
- name: Install pnpm
25-
uses: pnpm/action-setup@v4
25+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
2626

2727
- name: Use Node.js ${{ matrix.node-version }}
28-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
28+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2929
with:
3030
registry-url: "https://registry.npmjs.org"
3131
node-version: ${{ matrix.node-version }}
3232
cache: 'pnpm'
3333

34-
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
34+
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
3535
id: nextjs-cache
3636
with:
3737
path: packages/documentation/.next/cache

.github/workflows/publish-docs.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,21 @@ jobs:
1414
node-version: [24.x]
1515

1616
steps:
17-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1818
with:
1919
fetch-depth: 0
2020

21-
2221
- name: Install pnpm
23-
uses: pnpm/action-setup@v4
22+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
2423

2524
- name: Use Node.js ${{ matrix.node-version }}
26-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
25+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2726
with:
2827
registry-url: "https://registry.npmjs.org"
2928
node-version: ${{ matrix.node-version }}
3029
cache: 'pnpm'
3130

32-
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
31+
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
3332
id: nextjs-cache
3433
with:
3534
path: packages/documentation/.next/cache

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24.4.1
1+
24.10.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,5 @@
7979
"engines": {
8080
"node": ">=20 <25"
8181
},
82-
"packageManager": "pnpm@10.13.1"
82+
"packageManager": "pnpm@10.18.3+sha512.bbd16e6d7286fd7e01f6b3c0b3c932cda2965c06a908328f74663f10a9aea51f1129eea615134bf992831b009eabe167ecb7008b597f40ff9bc75946aadfb08d"
8383
}

pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ packages:
33
- integration-tests/*
44
- e2e
55

6+
minimumReleaseAge: 10080 # 7 days in minutes
7+
68
configDependencies:
79
'@pnpm/plugin-types-fixer': 0.1.0+sha512-bLww63gRHi7siYTqFJb5qNdcXadU0jv20Et6z5AryMZ7FlLolbEJOrXLpg8+amQZNHHNW1dfFUBGVw/9ezQbFg==
810

0 commit comments

Comments
 (0)