Skip to content

Commit

Permalink
ci: add Node.js 20 in the test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Nov 9, 2023
1 parent 707597d commit ef9ad7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:

strategy:
matrix:
node-version: [16]
node-version:
- 16
- 20

steps:
- name: Checkout repository
Expand Down
3 changes: 2 additions & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ if (typeof ArrayBuffer !== "undefined") {
require("./binary-fallback");
}

if (Blob) {
// Blob is available in Node.js since v18, but not yet supported by the `engine.io-parser` package
if (Blob && env.browser) {
require("./blob");
}

0 comments on commit ef9ad7d

Please sign in to comment.