Skip to content

Commit 31bbc32

Browse files
authored
feat: support for latest NodeJS v20 (#11)
1 parent a787d4d commit 31bbc32

10 files changed

+593
-6
lines changed

.github/workflows/build-alpine.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
target-node: [14, 16, 18, 19]
14+
target-node: [14, 16, 18, 19, 20]
1515
target-arch: [x64, arm64]
1616
include:
1717
- target-arch: x64

.github/workflows/build-linux.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
target-node: [14, 16, 18, 19]
14+
target-node: [14, 16, 18, 19, 20]
1515

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

.github/workflows/build-linuxstatic.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
target-node: [14, 16, 18, 19]
14+
target-node: [14, 16, 18, 19, 20]
1515
target-arch: [x64, arm64, armv7]
1616
include:
1717
- target-arch: x64

.github/workflows/build-macos.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
target-node: [14, 16, 18, 19]
14+
target-node: [14, 16, 18, 19, 20]
1515

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

.github/workflows/build-windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
target-node: [14, 16, 18, 19]
14+
target-node: [14, 16, 18, 19, 20]
1515
target-arch: [x64, arm64]
1616

1717
steps:

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false # prevent test to stop if one fails
1313
matrix:
14-
node-version: [12, 14, 16, 18, 19] # match patched node versions
14+
node-version: [12, 14, 16, 18, 19, 20] # match patched node versions
1515
os: [ubuntu-latest] # Skip macos-latest, windows-latest for now
1616

1717
runs-on: ${{ matrix.os }}

lib/verify.ts

+5
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ const script = `
5454
} else
5555
if (modules === 111) {
5656
// no cpu features anymore
57+
} else
58+
if (modules === 115) {
59+
// no cpu features anymore
5760
} else {
5861
assert(false, modules);
5962
}
@@ -91,6 +94,8 @@ const script = `
9194
if (modules === 108) {
9295
} else
9396
if (modules === 111) {
97+
} else
98+
if (modules === 115) {
9499
} else {
95100
assert(false, modules);
96101
}

0 commit comments

Comments
 (0)