Skip to content

Commit fad3504

Browse files
authored
chore(ci): bump to node 24 + update dependencies + harden workflow (#77)
* bump to node lts 22 * bump CI actions * bump to node 24 per https://docs.github.com/en/actions/reference/workflows-and-actions/metadata-syntax#runsusing-for-javascript-actions * harden workflow
1 parent cc4482e commit fad3504

File tree

8 files changed

+144408
-130971
lines changed

8 files changed

+144408
-130971
lines changed

.github/workflows/check-dist.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,34 @@
11
name: nodejs
22

3-
on:
3+
permissions:
4+
contents: read
5+
6+
on:
47
pull_request:
58
branches:
69
- master
710
paths-ignore:
8-
- '**.md'
11+
- "**.md"
912
push:
1013
branches:
1114
- master
1215
paths-ignore:
13-
- '**.md'
16+
- "**.md"
1417

1518
jobs:
1619
check-dist:
1720
runs-on: ubuntu-latest
21+
permissions:
22+
actions: write
1823

1924
steps:
20-
- uses: actions/checkout@v4
21-
22-
- name: Use Node.js 20.x
23-
uses: actions/[email protected]
25+
- uses: actions/checkout@v5
26+
with:
27+
persist-credentials: false
28+
- name: Use Node.js 24.x
29+
uses: actions/setup-node@v5
2430
with:
25-
node-version: 20.x
31+
node-version: 24.x
2632

2733
- name: Install dependencies
2834
run: npm ci

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.18.1
1+
v24.8.0

0 commit comments

Comments
 (0)