File tree Expand file tree Collapse file tree 3 files changed +47
-0
lines changed Expand file tree Collapse file tree 3 files changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -287,6 +287,12 @@ tasks:
287
287
params :
288
288
file : src/langchain-js/langchainjs/libs/langchain-mongodb/results.xml
289
289
290
+ - name : test-n8n-js-local
291
+ tags : [local]
292
+ commands :
293
+ - func : " fetch repo"
294
+ - func : " execute tests"
295
+
290
296
- name : test-langchain-js-remote
291
297
tags : [remote]
292
298
commands :
@@ -477,6 +483,16 @@ buildvariants:
477
483
- name : test-langchain-js-local
478
484
- name : test-langchain-js-remote
479
485
486
+ - name : test-n8n-javascript-ubuntu
487
+ display_name : n8n Ubuntu2204
488
+ tags : [javascript]
489
+ expansions :
490
+ DIR : n8n-js
491
+ run_on :
492
+ - ubuntu2204-small
493
+ tasks :
494
+ - name : test-n8n-js-local
495
+
480
496
- name : test-mem0-python-rhel
481
497
display_name : mem0 RHEL Python
482
498
tags : [python]
Original file line number Diff line number Diff line change
1
+ REPO_NAME = n8n
2
+ REPO_ORG = n8n-io
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -o errexit
4
+ set -o xtrace
5
+
6
+ mkdir npm_global_dir
7
+ WORKING_DIR=$( pwd)
8
+ export NPM_CONFIG_PREFIX=$WORKING_DIR /npm_global_dir
9
+ export PATH=" $NPM_CONFIG_PREFIX /bin:$PATH "
10
+
11
+ npm i -g pnpm
12
+
13
+ # use node20
14
+ export PATH=" /opt/devtools/node22/bin:/opt/dev/tools/bin:$PATH "
15
+
16
+ pnpm --version
17
+
18
+ pnpm install
19
+ pnpm build
20
+
21
+ # first, run the crud node tests
22
+ cd packages/nodes-base/nodes/MongoDb
23
+ pnpm test " $( pwd) "
24
+ cd -
25
+
26
+ # then, run the vector store tests
27
+ cd packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreMongoDBAtlas/
28
+ pnpm test " $( pwd) "
29
+ cd -
You can’t perform that action at this time.
0 commit comments