Skip to content

Commit 6761837

Browse files
committed
Test: (unit) add Node.js 18 (integration) add Fedora 38, Ubuntu 22.04
1 parent 0e10bbb commit 6761837

File tree

2 files changed

+21
-10
lines changed

2 files changed

+21
-10
lines changed

.github/workflows/integration.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ jobs:
111111
node-version: 16
112112
expected-family: glibc
113113
expected-version: 2.34
114+
- name: Fedora 38 / Node.js 18
115+
container: fedora:38
116+
node-version: 18
117+
expected-family: glibc
118+
expected-version: 2.36.9000
114119
- name: OpenSUSE 15.1 / Node.js 10
115120
container: opensuse/leap:15.1
116121
node-version: 10
@@ -136,28 +141,31 @@ jobs:
136141
node-version: 8
137142
expected-family: glibc
138143
expected-version: 2.27
139-
- name: Ubuntu 21.10 / Node.js 16
140-
container: ubuntu:21.10
141-
node-version: 16
144+
- name: Ubuntu 22.04 / Node.js 18
145+
container: ubuntu:22.04
146+
node-version: 18
142147
expected-family: glibc
143-
expected-version: 2.34
148+
expected-version: 2.35
144149
- name: Void glibc / Node.js 16
145-
container: voidlinux/voidlinux
150+
container: ghcr.io/void-linux/void-linux:latest-thin-x86_64
146151
node-version: 16
147152
expected-family: glibc
148153
expected-version: 2.32
149154
- name: Void musl / Node.js 16
150-
container: voidlinux/voidlinux-musl
155+
container: ghcr.io/void-linux/void-linux:latest-thin-x86_64-musl
151156
node-version: 16
152157
expected-family: musl
153158
expected-version: 1.1.24
154159
steps:
155160
- name: Install Node.js (RHEL)
156-
if: contains(matrix.container, 'amazonlinux') || contains(matrix.container, 'centos') || contains(matrix.container, 'fedora')
161+
if: contains(matrix.container, 'amazonlinux') || contains(matrix.container, 'centos') || contains(matrix.container, 'fedora:33') || contains(matrix.container, 'fedora:35')
157162
run: |
158163
yum module disable -y nodejs || true
159164
curl -sL https://rpm.nodesource.com/setup_${{ matrix.node-version }}.x | bash -
160165
yum install -y git nodejs
166+
- name: Install Node.js (Fedora 38)
167+
if: contains(matrix.container, 'fedora:38')
168+
run: dnf install -y git nodejs
161169
- name: Install Node.js (OpenSUSE)
162170
if: contains(matrix.container, 'opensuse')
163171
run: |
@@ -173,7 +181,9 @@ jobs:
173181
apt-get install -y nodejs
174182
- name: Install Node.js (Void)
175183
if: contains(matrix.container, 'void')
176-
run: xbps-install -Sy git nodejs
184+
run: |
185+
xbps-install -Suy xbps
186+
xbps-install -Sy git nodejs
177187
- name: Checkout
178188
uses: actions/checkout@v1
179189
- name: Verify expectations

.github/workflows/unit.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ jobs:
1414
- 12
1515
- 14
1616
- 16
17+
- 18
1718
steps:
1819
- name: Checkout
19-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2021
- name: Install Node.js
21-
uses: actions/setup-node@v2
22+
uses: actions/setup-node@v3
2223
with:
2324
node-version: ${{ matrix.node-version }}
2425
- name: Install dependencies

0 commit comments

Comments
 (0)