We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 658e023 commit 7c875fdCopy full SHA for 7c875fd
n8n-js/run.sh
@@ -1,5 +1,28 @@
1
#! /bin/bash
2
3
-echo "running!"
+set -o errexit
4
+set -o xtrace
5
-ls
6
+mkdir npm_global_dir
7
+export NPM_CONFIG_PREFIX=$(pwd)/npm_global_dir
8
+export PATH="$NPM_CONFIG_PREFIX/bin:$PATH"
9
+
10
+npm i -g pnpm
11
12
+# use node20
13
+export PATH="/opt/devtools/node22/bin:/opt/dev/tools/bin:$PATH"
14
15
+pnpm --version
16
17
+pnpm install
18
+pnpm build
19
20
+# first, run the crud node tests
21
+cd packages/nodes-base/nodes/MongoDb
22
+pnpm test $(pwd)
23
+cd -
24
25
+# then, run the vector store tests
26
+cd packages/@n8n/nodes-langchain/nodes/vector_store/VectorStoreMongoDBAtlas/
27
28
0 commit comments