Testing Mongodb
parent
834c55e568
commit
4560440e9e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue