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:
287287 params :
288288 file : src/langchain-js/langchainjs/libs/langchain-mongodb/results.xml
289289
290+ - name : test-n8n-js-local
291+ tags : [local]
292+ commands :
293+ - func : " fetch repo"
294+ - func : " execute tests"
295+
290296 - name : test-langchain-js-remote
291297 tags : [remote]
292298 commands :
@@ -477,6 +483,16 @@ buildvariants:
477483 - name : test-langchain-js-local
478484 - name : test-langchain-js-remote
479485
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+
480496 - name : test-mem0-python-rhel
481497 display_name : mem0 RHEL Python
482498 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