Skip to content

Commit a2d75c2

Browse files
authored
fix(ci): Fix CI build failures and improve stability (#434)
1 parent 05ce5a1 commit a2d75c2

File tree

5 files changed

+5662
-5
lines changed

5 files changed

+5662
-5
lines changed

.github/workflows/ci-pr-validation.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,16 +173,18 @@ jobs:
173173
- name: Test NAPI file in linux_glibc containers
174174
if: matrix.image == 'linux_glibc'
175175
run: |
176-
./tests/load-test.sh node:16-buster ${{matrix.cpu.platform}}
177176
./tests/load-test.sh node:16-bullseye ${{matrix.cpu.platform}}
178-
./tests/load-test.sh node:19-buster ${{matrix.cpu.platform}}
177+
./tests/load-test.sh node:18-bullseye ${{matrix.cpu.platform}}
179178
./tests/load-test.sh node:19-bullseye ${{matrix.cpu.platform}}
179+
./tests/load-test.sh node:22-bullseye ${{matrix.cpu.platform}}
180180
181181
- name: Test NAPI file in linux_musl containers
182182
if: matrix.image == 'linux_musl'
183183
run: |
184-
./tests/load-test.sh node:18-alpine3.15 ${{matrix.cpu.platform}}
185184
./tests/load-test.sh node:16-alpine3.15 ${{matrix.cpu.platform}}
185+
./tests/load-test.sh node:18-alpine3.15 ${{matrix.cpu.platform}}
186+
./tests/load-test.sh node:19-alpine3.15 ${{matrix.cpu.platform}}
187+
./tests/load-test.sh node:22-alpine3.22 ${{matrix.cpu.platform}}
186188
187189
windows-napi:
188190
name: Build NAPI windows - Node ${{matrix.nodejs}} - ${{matrix.arch}}

license-checker-config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"**/*.bat",
99
"**/*.pem",
1010
"**/*.key",
11-
"**/*.crt"
11+
"**/*.crt",
12+
"yarn.lock"
1213
],
1314
"defaultFormat": {
1415
"prepend": "#",

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"description": "Pulsar Node.js client",
55
"main": "index.js",
66
"types": "index.d.ts",
7+
"resolutions": {
8+
"minimatch": "^9.0.0"
9+
},
710
"directories": {
811
"src": "src",
912
"example": "examples"

pkg/linux/Dockerfile_linux_glibc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
ARG NODE_VERSION
2121

22-
FROM node:${NODE_VERSION}-buster
22+
FROM node:${NODE_VERSION}-bullseye
2323

2424
RUN apt-get update -y && \
2525
apt-get install -y \

0 commit comments

Comments
 (0)