Skip to content

Commit

Permalink
CI: bump to Node.js 18 and 20
Browse files Browse the repository at this point in the history
  • Loading branch information
jesec committed Jun 11, 2023
1 parent b2f50f0 commit 07e5b1e
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
node: [14, 16]
node: [18, 20]
fail-fast: false

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [16]
node: [20]
check: [check-source-formatting, check-types, lint]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/distribute-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node: [16]
node: [20]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-rolling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node: [16]
node: [20]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node: [16]
node: [20]

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
node: [14, 16]
node: [18, 20]
fail-fast: false

steps:
Expand All @@ -37,7 +37,7 @@ jobs:
- run: npm test || npm test || npm test

- uses: codecov/codecov-action@v1
if: matrix.node == 16
if: matrix.node == 20

- run: |
sudo apt-get remove --purge -y rtorrent
Expand Down
4 changes: 2 additions & 2 deletions distribution/debian/flood-bin/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ genrule(
"package.json",
] + glob(["node_modules/**/*"]),
outs = ["arm64/flood"],
cmd = "pkg $$(dirname $(location package.json)) -t node14-linuxstatic-arm64 --out-path $(RULEDIR)/arm64",
cmd = "pkg $$(dirname $(location package.json)) -t node18-linuxstatic-arm64 --out-path $(RULEDIR)/arm64",
executable = True,
)

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

Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
"dist/geoip-country6.dat"
],
"targets": [
"node14-linuxstatic-x64",
"node14-linuxstatic-arm64",
"node14-macos-x64",
"node14-macos-arm64",
"node14-win-x64",
"node14-win-arm64"
"node18-linuxstatic-x64",
"node18-linuxstatic-arm64",
"node18-macos-x64",
"node18-macos-arm64",
"node18-win-x64",
"node18-win-arm64"
]
},
"scripts": {
Expand Down

0 comments on commit 07e5b1e

Please sign in to comment.