Skip to content

Commit f130cb1

Browse files
authored
Update github CI (#438)
* Update github CI 1. Updated actions to latests version 2. Remove old nodejs 16 3. Added nodejs 22 and 23 --------- Signed-off-by: David Kornel <[email protected]>
1 parent 078d661 commit f130cb1

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/node.js.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [16.x, 18.x, 20.x, 21.x]
18+
node-version: [18.x, 20.x, 21.x, 22.x, 23.x]
1919
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2020

2121
steps:
22-
- uses: actions/checkout@v2
23-
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v1
22+
- uses: actions/checkout@v4
23+
- uses: actions/setup-node@v4
2524
with:
2625
node-version: ${{ matrix.node-version }}
2726
- run: npm install

test/sasl.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ describe('user-provided sasl mechanism', function () {
227227
},
228228
step: function () {
229229
stepCalled = true;
230-
this.outcome = <any>true;
230+
this.outcome = true as any;
231231
return;
232232
}
233233
};
@@ -260,7 +260,7 @@ describe('user-provided sasl mechanism', function () {
260260
},
261261
step: function () {
262262
stepCalled = true;
263-
this.outcome = <any>false;
263+
this.outcome = false as any;
264264
return;
265265
}
266266
};
@@ -300,7 +300,7 @@ describe('user-provided sasl mechanism', function () {
300300
return new Promise<void>(resolve => {
301301
process.nextTick(() => {
302302
stepCalled = true;
303-
this.outcome = <any>true;
303+
this.outcome = true as any;
304304
resolve();
305305
});
306306
});

0 commit comments

Comments
 (0)