Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,12 @@ tasks:
params:
file: src/langchain-js/langchainjs/libs/langchain-mongodb/results.xml

- name: test-n8n-js-local
tags: [local]
commands:
- func: "fetch repo"
- func: "execute tests"

- name: test-langchain-js-remote
tags: [remote]
commands:
Expand Down Expand Up @@ -477,6 +483,16 @@ buildvariants:
- name: test-langchain-js-local
- name: test-langchain-js-remote

- name: test-n8n-javascript-ubuntu
display_name: n8n Ubuntu2204
tags: [javascript]
expansions:
DIR: n8n-js
run_on:
- ubuntu2204-small
tasks:
- name: test-n8n-js-local

- name: test-mem0-python-rhel
display_name: mem0 RHEL Python
tags: [python]
Expand Down
2 changes: 2 additions & 0 deletions n8n-js/config.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REPO_NAME=n8n
REPO_ORG=n8n-io
29 changes: 29 additions & 0 deletions n8n-js/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#! /bin/bash

set -o errexit
set -o xtrace

mkdir npm_global_dir
WORKING_DIR=$(pwd)
export NPM_CONFIG_PREFIX=$WORKING_DIR/npm_global_dir
export PATH="$NPM_CONFIG_PREFIX/bin:$PATH"

npm i -g pnpm

# use node20
export PATH="/opt/devtools/node22/bin:/opt/dev/tools/bin:$PATH"

pnpm --version

pnpm install
pnpm build

# first, run the crud node tests
cd packages/nodes-base/nodes/MongoDb
pnpm test "$(pwd)"
cd -

# then, run the vector store tests
cd packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreMongoDBAtlas/
pnpm test "$(pwd)"
cd -