From 482cab3914f1cd0e9f7af7f33872e55aad7b8fa7 Mon Sep 17 00:00:00 2001 From: hasezoey Date: Mon, 22 Apr 2024 14:30:59 +0200 Subject: [PATCH] chore(workflows/tests): download mongodb binaries to ~/.cache/mongodb-binaries instead of local --- .github/workflows/tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bd42a0f..26792e5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,6 +11,11 @@ on: # - 'test/**' # - '*.json' # run if an ".json" file in the *root* of the repository is changed +env: + # Download mongodb binaries to ~/.cache/mongodb-binaries instead of local node_modules + # Used for separate cache + MONGOMS_PREFER_GLOBAL_PATH: true + jobs: tests: runs-on: ubuntu-latest