Skip to content

Commit 9e8b2ee

Browse files
committed
Reworked CI versions
- bumped building on Node 16 to Node 18 - removed all matrix executions apart from Node 18
1 parent cff38a3 commit 9e8b2ee

File tree

2 files changed

+9
-17
lines changed

2 files changed

+9
-17
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,14 @@ jobs:
2727
target:
2828
- x64
2929
node:
30-
- 10
31-
- 11
32-
- 12
33-
- 13
34-
- 14
35-
- 15
36-
- 16
37-
- 17
3830
- 18
3931
include:
4032
- os: windows-latest
41-
node: 16
33+
node: 18
4234
host: x86
4335
target: x86
4436
- os: macos-m1
45-
node: 16
37+
node: 18
4638
host: arm64
4739
target: arm64
4840
name: ${{ matrix.os }} (node=${{ matrix.node }}, host=${{ matrix.host }}, target=${{ matrix.target }})
@@ -113,15 +105,15 @@ jobs:
113105

114106
- name: Upload binaries to commit artifacts
115107
uses: actions/upload-artifact@v3
116-
if: matrix.node == 16
108+
if: matrix.node == 18
117109
with:
118110
name: prebuilt-binaries
119111
path: build/stage/*/*
120112
retention-days: 7
121113

122114
- name: Upload binaries to GitHub Release
123115
run: yarn node-pre-gyp-github publish
124-
if: matrix.node == 16 && startsWith(github.ref, 'refs/tags/')
116+
if: matrix.node == 18 && startsWith(github.ref, 'refs/tags/')
125117
env:
126118
NODE_PRE_GYP_GITHUB_TOKEN: ${{ github.token }}
127119
build-qemu:
@@ -131,7 +123,7 @@ jobs:
131123
fail-fast: false
132124
matrix:
133125
node:
134-
- 16
126+
- 18
135127
target:
136128
- linux/arm64
137129
variant:
@@ -141,7 +133,7 @@ jobs:
141133
# musl x64 builds
142134
- target: linux/amd64
143135
variant: alpine3.15
144-
node: 16
136+
node: 18
145137
name: ${{ matrix.variant }} (node=${{ matrix.node }}, target=${{ matrix.target }})
146138
steps:
147139
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
@@ -168,14 +160,14 @@ jobs:
168160
169161
- name: Upload binaries to commit artifacts
170162
uses: actions/upload-artifact@v3
171-
if: matrix.node == 16
163+
if: matrix.node == 18
172164
with:
173165
name: prebuilt-binaries
174166
path: build/stage/*/*
175167
retention-days: 7
176168

177169
- name: Upload binaries to GitHub Release
178170
run: yarn install --ignore-scripts && yarn node-pre-gyp-github publish
179-
if: matrix.node == 16 && startsWith(github.ref, 'refs/tags/')
171+
if: matrix.node == 18 && startsWith(github.ref, 'refs/tags/')
180172
env:
181173
NODE_PRE_GYP_GITHUB_TOKEN: ${{ github.token }}

tools/BinaryBuilder.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG NODE_VERSION=16
1+
ARG NODE_VERSION=18
22
ARG VARIANT=bullseye
33

44
FROM node:$NODE_VERSION-$VARIANT

0 commit comments

Comments
 (0)