Skip to content

Commit bc5c11a

Browse files
committed
Upgrade NodeJS to version 20
1 parent 6d47a68 commit bc5c11a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ci.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ jobs:
2727
target:
2828
- x64
2929
node:
30-
- 18
30+
- 20
3131
include:
3232
- os: windows-latest
33-
node: 18
33+
node: 20
3434
host: x64
3535
target: x86
3636
- os: windows-latest
37-
node: 18
37+
node: 20
3838
host: x64
3939
target: arm64
4040
- os: macos-latest
41-
node: 18
41+
node: 20
4242
host: arm64
4343
target: arm64
4444
name: ${{ matrix.os }} (host=${{ matrix.host }}, target=${{ matrix.target }})
@@ -98,15 +98,15 @@ jobs:
9898

9999
- name: Upload binaries to commit artifacts
100100
uses: actions/upload-artifact@v4
101-
if: matrix.node == 18
101+
if: matrix.node == 20
102102
with:
103103
name: prebuilt-binaries-${{ matrix.os }}-host${{ matrix.host }}-target${{ matrix.target }}.zip
104104
path: prebuilds/*
105105
retention-days: 7
106106

107107
- name: Upload binaries to GitHub Release
108108
run: yarn upload --upload-all ${{ github.token }}
109-
if: matrix.node == 18 && startsWith(github.ref, 'refs/tags/')
109+
if: matrix.node == 20 && startsWith(github.ref, 'refs/tags/')
110110

111111
# build-qemu:
112112
# runs-on: ubuntu-latest
@@ -115,7 +115,7 @@ jobs:
115115
# fail-fast: false
116116
# matrix:
117117
# node:
118-
# - 18
118+
# - 20
119119
# target:
120120
# - linux/arm64
121121
# variant:
@@ -125,7 +125,7 @@ jobs:
125125
# # musl x64 builds
126126
# - target: linux/amd64
127127
# variant: alpine3.15
128-
# node: 18
128+
# node: 20
129129
# name: ${{ matrix.variant }} (node=${{ matrix.node }}, target=${{ matrix.target }})
130130
# steps:
131131
# - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
@@ -152,12 +152,12 @@ jobs:
152152
#
153153
# - name: Upload binaries to commit artifacts
154154
# uses: actions/upload-artifact@v4
155-
# if: matrix.node == 18
155+
# if: matrix.node == 20
156156
# with:
157157
# name: prebuilt-binaries
158158
# path: prebuilds/*
159159
# retention-days: 7
160160
#
161161
# - name: Upload binaries to GitHub Release
162162
# run: yarn install --ignore-scripts && yarn upload --upload-all ${{ github.token }}
163-
# if: matrix.node == 18 && startsWith(github.ref, 'refs/tags/')
163+
# if: matrix.node == 20 && startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)