File tree 1 file changed +9
-11
lines changed
1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -78,23 +78,21 @@ jobs:
78
78
test-deno :
79
79
runs-on : ubuntu-20.04
80
80
name : Deno tests
81
+ env :
82
+ MONGOMS_VERSION : 6.0.0
83
+ MONGOMS_PREFER_GLOBAL_PATH : 1
81
84
steps :
82
85
- uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
83
86
- name : Setup node
84
87
uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
85
88
with :
86
89
node-version : 16
87
- - uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.0.2
88
- - name : Setup
89
- run : |
90
- wget -q https://downloads.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-6.0.0.tgz
91
- tar xf mongodb-linux-x86_64-ubuntu2004-6.0.0.tgz
92
- mkdir -p ./data/db/27017 ./data/db/27000
93
- printf "\ntimeout: 8000" >> ./.mocharc.yml
94
- ./mongodb-linux-x86_64-ubuntu2004-6.0.0/bin/mongod --setParameter ttlMonitorSleepSecs=1 --fork --dbpath ./data/db/27017 --syslog --port 27017
95
- sleep 2
96
- mongod --version
97
- echo `pwd`/mongodb-linux-x86_64-ubuntu2004-6.0.0/bin >> $GITHUB_PATH
90
+ - name : Load MongoDB binary cache
91
+ id : cache-mongodb-binaries
92
+ uses : actions/cache@v3
93
+ with :
94
+ path : ~/.cache/mongodb-binaries
95
+ key : deno-${{ env.MONGOMS_VERSION }}
98
96
- name : Setup Deno
99
97
uses : denoland/setup-deno@v1
100
98
with :
You can’t perform that action at this time.
0 commit comments