File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
.github/actions/setup-node Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 6969 with :
7070 deno-version : ${{ inputs.deno-version }}
7171
72+ - name : Configure mongodb-memory-server cache
73+ shell : bash
74+ run : |
75+ CACHE_DIR="${GITHUB_WORKSPACE}/node_modules/.cache/mongodb-memory-server"
76+ mkdir -p "$CACHE_DIR"
77+ echo "MONGOMS_DOWNLOAD_DIR=$CACHE_DIR" >> $GITHUB_ENV
78+ echo "MONGOMS_PREFER_GLOBAL_PATH=false" >> $GITHUB_ENV
79+
7280 - name : yarn login
7381 shell : bash
7482 if : inputs.NPM_TOKEN
Original file line number Diff line number Diff line change 1717 "testunit" : " jest" ,
1818 "typecheck" : " tsc --noEmit --skipLibCheck"
1919 },
20+ "config" : {
21+ "mongodbMemoryServer" : {
22+ "downloadDir" : " ../../../node_modules/.cache/mongodb-memory-server" ,
23+ "preferGlobalPath" : false
24+ }
25+ },
2026 "volta" : {
2127 "extends" : " ../../../package.json"
2228 },
You can’t perform that action at this time.
0 commit comments