Skip to content

Commit b419a77

Browse files
committed
chore: update workflows to use Node.js v22
1 parent 549eb52 commit b419a77

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/nodejs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
- name: Set git to not change EoL
1515
run: |
1616
git config --global core.autocrlf false
17-
- uses: actions/checkout@v2
18-
- name: Use Node.js 12.x
19-
uses: actions/setup-node@v1
17+
- uses: actions/checkout@v4
18+
- name: Use Node.js
19+
uses: actions/setup-node@v4
2020
with:
21-
node-version: 12.x
21+
node-version: 22.x
2222
- name: npm install, build, and test
2323
run: |
2424
npm install

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
publish-npm:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
1313
with:
14-
node-version: 14
14+
node-version: 22
1515
registry-url: https://registry.npmjs.org/
1616
cache: npm
1717
- run: npm ci

0 commit comments

Comments
 (0)