Skip to content

Commit 51d8364

Browse files
committed
Remove Node 14 and add 20 to pipelines
1 parent 00c5047 commit 51d8364

2 files changed

Lines changed: 11 additions & 18 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,8 @@ jobs:
1111
test:
1212
strategy:
1313
matrix:
14-
node-version: [14, 16, 18]
14+
node-version: [16, 18, 20]
1515
os: [ubuntu-20.04, macos-11, macos-m1, windows-2019]
16-
exclude:
17-
- node-version: 14
18-
os: macos-m1
1916

2017
name: Test for node-${{ matrix.node-version }} on ${{ matrix.os }}
2118
runs-on: ${{ matrix.os }}
@@ -62,7 +59,7 @@ jobs:
6259
name: Test on Alpine Linux
6360
runs-on: ubuntu-latest
6461
container:
65-
image: node:14-alpine
62+
image: node:16-alpine
6663

6764
steps:
6865
- name: Install build deps
@@ -82,7 +79,7 @@ jobs:
8279
test-freebsd:
8380
strategy:
8481
matrix:
85-
node-version: [14, 16, 18]
82+
node-version: [16, 18, 20]
8683

8784
name: Test for node-${{ matrix.node-version }} on FreeBSD
8885
runs-on: macos-12

.github/workflows/release.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
with:
1919
submodules: true
2020

21-
- name: Use Node.js 14
21+
- name: Use Node.js 16
2222
uses: actions/setup-node@v3
2323
with:
2424
cache: yarn
25-
node-version: 14
25+
node-version: 16
2626
registry-url: https://registry.npmjs.org/
2727

2828
- name: Install dependencies
@@ -36,11 +36,7 @@ jobs:
3636
build:
3737
strategy:
3838
matrix:
39-
node-version: [14]
4039
os: [ubuntu-20.04, macos-11, windows-2019]
41-
include:
42-
- node-version: 16
43-
os: macos-m1
4440

4541
name: Build on ${{ matrix.os }}
4642
runs-on: ${{ matrix.os }}
@@ -51,11 +47,11 @@ jobs:
5147
with:
5248
submodules: true
5349

54-
- name: Use Node.js ${{ matrix.node-version }}
50+
- name: Use Node.js 16
5551
uses: actions/setup-node@v3
5652
with:
5753
cache: yarn
58-
node-version: ${{ matrix.node-version }}
54+
node-version: 16
5955

6056
- name: Install dependencies
6157
run: yarn install --frozen-lockfile
@@ -74,7 +70,7 @@ jobs:
7470
name: Build on Alpine Linux
7571
runs-on: ubuntu-latest
7672
container:
77-
image: node:14-alpine
73+
image: node:16-alpine
7874

7975
steps:
8076
- name: Install build deps
@@ -130,13 +126,13 @@ jobs:
130126
ubuntu*|jessie|stretch|buster)
131127
apt-get update -y
132128
apt-get install -y curl
133-
curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
129+
curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
134130
apt-get install -y make g++ python nodejs
135131
npm install --global yarn
136132
;;
137133
alpine*)
138134
apk add --update make g++ python3
139-
apk add --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/v3.13/main/ nodejs~=14 npm~=14
135+
apk add --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/v3.13/main/ nodejs~=16 npm~=16
140136
npm install --global yarn
141137
;;
142138
esac
@@ -167,7 +163,7 @@ jobs:
167163
with:
168164
envs: 'npm_config_build_from_source'
169165
prepare: |
170-
pkg install -y gmake python3 yarn-node14
166+
pkg install -y gmake python3 yarn-node16
171167
run: |
172168
yarn install --frozen-lockfile
173169
yarn node-pre-gyp package

0 commit comments

Comments
 (0)