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 ] branches: [ master ]
pull_request: pull_request:
branches: [ master ] branches: [ master ]
services:
mongodb:
image: mongo:3.4.23
ports:
- 27017:27017
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -18,10 +22,6 @@ 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