Testing Mongodb

master
Mark Moffat 2020-03-22 20:05:32 +10:30
parent 834c55e568
commit 4560440e9e
1 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,11 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
services:
mongodb:
image: mongo:3.4.23
ports:
- 27017:27017
jobs:
build:
runs-on: ubuntu-latest
@ -18,10 +22,6 @@ jobs:
uses: actions/setup-node@v1
with:
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
run: npm i
- name: npm test