Skip to content

Commit 8ab421a

Browse files
committed
CI: bump to Node.js 18 and 20
1 parent b2f50f0 commit 8ab421a

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
node: [14, 16]
17+
node: [18, 20]
1818
fail-fast: false
1919

2020
steps:

.github/workflows/check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
node: [16]
18+
node: [20]
1919
check: [check-source-formatting, check-types, lint]
2020

2121
steps:

.github/workflows/distribute-debian.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node: [16]
16+
node: [20]
1717

1818
steps:
1919
- uses: actions/checkout@v3

.github/workflows/publish-rolling.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node: [16]
14+
node: [20]
1515

1616
steps:
1717
- uses: actions/checkout@v3
@@ -120,7 +120,7 @@ jobs:
120120

121121
strategy:
122122
matrix:
123-
node: [16]
123+
node: [20]
124124

125125
steps:
126126
- uses: actions/checkout@v3
@@ -177,7 +177,7 @@ jobs:
177177

178178
strategy:
179179
matrix:
180-
node: [16]
180+
node: [20]
181181

182182
steps:
183183
- name: Use Node.js ${{ matrix.node }}

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node: [16]
14+
node: [20]
1515

1616
steps:
1717
- uses: actions/checkout@v3

.github/workflows/test-backend.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
node: [14, 16]
17+
node: [18, 20]
1818
fail-fast: false
1919

2020
steps:
@@ -37,11 +37,11 @@ jobs:
3737
- run: npm test || npm test || npm test
3838

3939
- uses: codecov/codecov-action@v1
40-
if: matrix.node == 16
40+
if: matrix.node == 20
4141

4242
- run: |
4343
sudo apt-get remove --purge -y rtorrent
4444
sudo apt-get install -y rtorrent
4545
4646
- run: npm test -- --selectProjects rtorrent || npm test -- --selectProjects rtorrent || npm test -- --selectProjects rtorrent
47-
if: matrix['node'] == '16'
47+
if: matrix['node'] == '20'

distribution/debian/flood-bin/BUILD

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ genrule(
1919
"package.json",
2020
] + glob(["node_modules/**/*"]),
2121
outs = ["arm64/flood"],
22-
cmd = "pkg $$(dirname $(location package.json)) -t node14-linuxstatic-arm64 --out-path $(RULEDIR)/arm64",
22+
cmd = "pkg $$(dirname $(location package.json)) -t node18-linuxstatic-arm64 --out-path $(RULEDIR)/arm64",
2323
executable = True,
2424
)
2525

@@ -30,7 +30,7 @@ genrule(
3030
"package.json",
3131
] + glob(["node_modules/**/*"]),
3232
outs = ["x64/flood"],
33-
cmd = "pkg $$(dirname $(location package.json)) -t node14-linuxstatic-x64 --out-path $(RULEDIR)/x64",
33+
cmd = "pkg $$(dirname $(location package.json)) -t node18-linuxstatic-x64 --out-path $(RULEDIR)/x64",
3434
executable = True,
3535
)
3636

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
"dist/geoip-country6.dat"
4040
],
4141
"targets": [
42-
"node14-linuxstatic-x64",
43-
"node14-linuxstatic-arm64",
44-
"node14-macos-x64",
45-
"node14-macos-arm64",
46-
"node14-win-x64",
47-
"node14-win-arm64"
42+
"node18-linuxstatic-x64",
43+
"node18-linuxstatic-arm64",
44+
"node18-macos-x64",
45+
"node18-macos-arm64",
46+
"node18-win-x64",
47+
"node18-win-arm64"
4848
]
4949
},
5050
"scripts": {

0 commit comments

Comments
 (0)