Skip to content

Commit b10686a

Browse files
authored
chore(ci): pin Node.js 24.13.0 in one place (#1471)
Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
1 parent 0cc2b04 commit b10686a

4 files changed

Lines changed: 14 additions & 10 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- main
88
paths:
99
- CHANGELOG.md
10+
- .node-version
1011
- package.json
1112
- .github/workflows/publish.yml
1213
- scripts/release/**
@@ -35,15 +36,15 @@ jobs:
3536
echo "Manual publishing is only supported from the main branch."
3637
exit 1
3738
38-
- uses: actions/checkout@v4
39+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3940

4041
- name: Setup pnpm
41-
uses: pnpm/action-setup@v4
42+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
4243

4344
- name: Setup Node
44-
uses: actions/setup-node@v4
45+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
4546
with:
46-
node-version: "24"
47+
node-version-file: .node-version
4748
cache: pnpm
4849
registry-url: https://registry.npmjs.org
4950

.github/workflows/version-packages.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- main
88
paths:
99
- .changeset/**
10+
- .node-version
1011
- package.json
1112
- pnpm-lock.yaml
1213
- .github/workflows/version-packages.yml
@@ -23,22 +24,23 @@ jobs:
2324
version:
2425
runs-on: ubuntu-latest
2526
steps:
26-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2728

2829
- name: Setup pnpm
29-
uses: pnpm/action-setup@v4
30+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
3031

3132
- name: Setup Node
32-
uses: actions/setup-node@v4
33+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
3334
with:
34-
node-version: "24"
35+
node-version-file: .node-version
3536
cache: pnpm
37+
registry-url: https://registry.npmjs.org
3638

3739
- name: Install dependencies
3840
run: pnpm install --frozen-lockfile
3941

4042
- name: Create or update release PR
41-
uses: changesets/action@v1
43+
uses: changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf # v1.7.0
4244
with:
4345
commit: "chore(release): version packages"
4446
title: "chore(release): version packages"

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24.13.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ Set `CHECKPOINT_DISABLE=1` to opt out of usage-data collection, following Prisma
335335

336336
Requirements:
337337

338-
- Node.js `^20.19 || ^22.12 || >=24.0`
338+
- Node.js matching `.node-version`
339339
- `pnpm` `8`
340340
- `bun`
341341

0 commit comments

Comments
 (0)