Skip to content

Commit ea76472

Browse files
authored
chore: use node 24 in workflows (#273)
1 parent e13a06d commit ea76472

File tree

6 files changed

+16
-12
lines changed

6 files changed

+16
-12
lines changed

.github/workflows/pr-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Set up Node.js
3030
uses: actions/setup-node@v5
3131
with:
32-
node-version: 20
32+
node-version: 24
3333

3434
- name: Install commitlint
3535
run: |

.github/workflows/publish-prerelease.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
ref: ${{ inputs.ref }}
2626
fetch-depth: 0
2727

28-
- name: Install node 20
28+
- name: Install node 24
2929
uses: actions/setup-node@v5
3030
with:
31-
node-version: 20
31+
node-version: 24
3232
cache: npm
3333

3434
- name: Update npm
35-
run: npm install -g npm@11.5.1
35+
run: npm install -g npm@latest
3636

3737
- name: Configure git
3838
run: |

.github/workflows/publish-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ jobs:
2929
ref: ${{ inputs.ref }}
3030
fetch-depth: 0
3131

32-
- name: Install node 20
32+
- name: Install node 24
3333
uses: actions/setup-node@v5
3434
with:
35-
node-version: 20
35+
node-version: 24
3636
cache: npm
3737

3838
- name: Update npm
39-
run: npm install -g npm@11.5.1
39+
run: npm install -g npm@latest
4040

4141
- name: Configure git
4242
run: |

.github/workflows/push-to-registry.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
- name: Checkout repository
2727
uses: actions/checkout@v5
2828

29-
- name: Install node 18
29+
- name: Install node 24
3030
uses: actions/setup-node@v6
3131
with:
32-
node-version: 18
32+
node-version: 24
3333
cache: npm
3434

3535
- name: Install project modules

.github/workflows/stage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ jobs:
3737
with:
3838
fetch-depth: 0
3939

40-
- name: Install node 20
40+
- name: Install node 24
4141
uses: actions/setup-node@v5
4242
with:
43-
node-version: 20
43+
node-version: 24
4444
cache: npm
4545

4646
- name: Update npm
47-
run: npm install -g npm@11.5.1
47+
run: npm install -g npm@latest
4848

4949
- name: Enable Corepack
5050
run: corepack enable

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
"node": ">= 20.0.0",
1919
"npm": ">= 11.5.1"
2020
},
21+
"publishConfig": {
22+
"access": "public",
23+
"provenance": true
24+
},
2125
"type": "module",
2226
"bin": "dist/src/cli.js",
2327
"main": "dist/src/index.js",

0 commit comments

Comments
 (0)