Skip to content

Commit 470a5ad

Browse files
committed
update project node to 20.19.2
1 parent 9d93c79 commit 470a5ad

File tree

3 files changed

+1656
-8157
lines changed

3 files changed

+1656
-8157
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
@@ -52,7 +53,7 @@ jobs:
5253
name: build
5354
- uses: actions/setup-node@v1
5455
with:
55-
node-version: 18.x
56+
node-version: 20.x
5657
- uses: rlespinasse/[email protected]
5758
- name: Append commit hash to package version
5859
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
@@ -73,7 +74,7 @@ jobs:
7374
name: build
7475
- uses: actions/setup-node@v1
7576
with:
76-
node-version: 18.x
77+
node-version: 20.x
7778
- name: Disable pre- and post-publish actions
7879
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
7980
- 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)