Skip to content

Commit 33c025d

Browse files
committed
Upgrade testing to node 20
1 parent aab0461 commit 33c025d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- uses: actions/checkout@v4
3232
- uses: actions/setup-node@v4
3333
with:
34-
node-version: 18
34+
node-version: 20
3535
- name: Run terminusdb server
3636
run: |
3737
docker run --detach --publish 127.0.0.1:6363:6363 terminusdb/terminusdb-server:dev && sleep 10

lib/woqlClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ WOQLClient.prototype.query = function (woql, commitMsg, allWitnesses, lastDataVe
668668
const fileName = resourceObject.source.post.split('/').pop();
669669

670670
if (providedResourceInsteadOfFile) {
671-
// Blob is supported from Node 18. Server applications need to upgrade to at least Node 18
671+
// Blob is supported from Node 20. Server applications need to upgrade to at least Node 18
672672
formData.append('file', new Blob([providedResourceInsteadOfFile], { type: 'application/csv' }), fileName);
673673
} else {
674674
formData.append('file', fs.createReadStream(resourceObject.source.post));

0 commit comments

Comments
 (0)