We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e36cb0 commit f047a97Copy full SHA for f047a97
.github/workflows/continuous-integration.yaml
@@ -0,0 +1,34 @@
1
+name: Continuous Integration
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - 5.x
7
+ pull_request:
8
9
10
11
+jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+ strategy:
15
+ matrix:
16
+ node-version: [10, 12, 14]
17
+ mongodb-version: [4.4] # the latest stable version
18
19
+ steps:
20
+ - name: Git checkout
21
+ uses: actions/checkout@v2
22
23
+ - name: Use Node.js ${{ matrix.node-version }}
24
+ uses: actions/setup-node@v1
25
+ with:
26
+ node-version: ${{ matrix.node-version }}
27
28
+ - name: Start MongoDB
29
+ uses: supercharge/mongodb-github-action@1.3.0
30
31
+ mongodb-version: ${{ matrix.mongodb-version }}
32
33
+ - run: npm install
34
+ - run: npm test
0 commit comments