File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 1010 matrix :
1111 node-version : [12.x, 14.x]
1212 mongodb-version : [4.0, 4.2]
13+ elasticsearch-version : ['7.9.3']
1314
1415 steps :
1516 - uses : actions/checkout@v1
2122 uses : wbari/start-mongoDB@v0.2
2223 with :
2324 mongoDBVersion : ${{ matrix.mongodb-version }}
25+ - name : Configure sysctl limits
26+ run : |
27+ sudo swapoff -a
28+ sudo sysctl -w vm.swappiness=1
29+ sudo sysctl -w fs.file-max=262144
30+ sudo sysctl -w vm.max_map_count=262144
31+ - name : Launch elasticsearch
32+ uses : getong/elasticsearch-action@v1.2
33+ with :
34+ elasticsearch version : ${{ matrix.elasticsearch-version }}
35+ host port : 9200
36+ container port : 9200
37+ host node port : 9300
38+ node port : 9300
39+ discovery type : ' single-node'
2440 - name : npm install, build, and test
2541 run : |
2642 npm install
You can’t perform that action at this time.
0 commit comments