Add Mongo for tests

master
Mark Moffat 2020-03-22 20:03:14 +10:30
parent 0c7f70f2f4
commit 834c55e568
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@ jobs:
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.1.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: npm install - name: npm install
run: npm i run: npm i
- name: npm test - name: npm test