-
Notifications
You must be signed in to change notification settings - Fork 889
30 lines (30 loc) · 749 Bytes
/
Copy pathtests.yaml
File metadata and controls
30 lines (30 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: expressCart-tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 13.x, 14.x]
mongodb-version: [4.2]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Start MongoDB v${{ matrix.mongodb-version }}
uses: superchargejs/mongodb-github-action@1.1.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: npm install
run: npm i
- name: npm test
run: npm run test
env:
test: true
CI: true