Skip to content

Commit 1b4442f

Browse files
committed
update project node to 20.19.2
1 parent f716a7b commit 1b4442f

File tree

3 files changed

+1131
-5927
lines changed

3 files changed

+1131
-5927
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
node-version:
2323
- 18.x
2424
- 20.x
25+
- 22.x
2526

2627
steps:
2728
- uses: actions/checkout@v2
@@ -34,7 +35,7 @@ jobs:
3435
- run: npm test
3536
- run: npm run build --if-present
3637
- name: Save build
37-
if: matrix.node-version == '18.x'
38+
if: matrix.node-version == '20.x'
3839
uses: actions/upload-artifact@v4
3940
with:
4041
name: build
@@ -51,7 +52,7 @@ jobs:
5152
name: build
5253
- uses: actions/setup-node@v1
5354
with:
54-
node-version: 18.x
55+
node-version: 20.x
5556
- uses: rlespinasse/[email protected]
5657
- name: Append commit hash to package version
5758
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
@@ -72,7 +73,7 @@ jobs:
7273
name: build
7374
- uses: actions/setup-node@v1
7475
with:
75-
node-version: 18.x
76+
node-version: 20.x
7677
- name: Disable pre- and post-publish actions
7778
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
7879
- uses: JS-DevTools/npm-publish@v1

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.19.0
1+
v20.19.2

0 commit comments

Comments
 (0)