Skip to content

Commit 1624965

Browse files
committed
update project node to 20.19.2
1 parent 656fb3b commit 1624965

File tree

3 files changed

+3039
-1750
lines changed

3 files changed

+3039
-1750
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
node-version:
1818
- 18.x
1919
- 20.x
20+
- 22.x
2021
steps:
2122
- uses: actions/checkout@v4
2223
- name: Use Node.js ${{ matrix.node-version }}
@@ -27,7 +28,7 @@ jobs:
2728
- run: npm run build
2829
- run: npm run bundlesize
2930
- name: Save build
30-
if: matrix.node-version == '18.x'
31+
if: matrix.node-version == '20.x'
3132
uses: actions/upload-artifact@v4
3233
with:
3334
name: build
@@ -58,7 +59,7 @@ jobs:
5859
name: build
5960
- uses: actions/setup-node@v1
6061
with:
61-
node-version: 18.x
62+
node-version: 20.x
6263
- uses: rlespinasse/[email protected]
6364
- name: Append commit hash to package version
6465
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
@@ -79,7 +80,7 @@ jobs:
7980
name: build
8081
- uses: actions/setup-node@v1
8182
with:
82-
node-version: 18.x
83+
node-version: 20.x
8384
- name: Disable pre- and post-publish actions
8485
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
8586
- 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)