File tree Expand file tree Collapse file tree 4 files changed +7599
-5670
lines changed Expand file tree Collapse file tree 4 files changed +7599
-5670
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"presets" : [
3
- " es2015"
3
+ " @babel/preset- es2015"
4
4
]
5
5
}
Original file line number Diff line number Diff line change @@ -20,33 +20,33 @@ jobs:
20
20
mongodb-version : ['4.2', '4.4']
21
21
22
22
steps :
23
- - name : Git checkout
24
- uses : actions/checkout@v2
25
-
26
- - name : Use Node.js ${{ matrix.node-version }}
27
- uses : actions/setup-node@v2
28
- with :
29
- node-version : ${{ matrix.node-version }}
30
-
31
- - name : Start MongoDB
32
- uses :
supercharge/[email protected]
33
- with :
34
- mongodb-version : ${{ matrix.mongodb-version }}
35
-
36
- - run : npm install
37
-
38
- - run : npm test
39
- env :
40
- CI : true
41
-
42
- - run : npx nyc@latest mocha
43
-
44
- - run : |
45
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --compilers js:babel- register \
46
- && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js \
47
- && rm -rf ./coverage
48
-
49
- - name : Coveralls
50
- uses : coverallsapp/github-action@master
51
- with :
52
- github-token : ${{ secrets.GITHUB_TOKEN }}
23
+ - name : Git checkout
24
+ uses : actions/checkout@v2
25
+
26
+ - name : Use Node.js ${{ matrix.node-version }}
27
+ uses : actions/setup-node@v2
28
+ with :
29
+ node-version : ${{ matrix.node-version }}
30
+
31
+ - name : Start MongoDB
32
+ uses :
supercharge/[email protected]
33
+ with :
34
+ mongodb-version : ${{ matrix.mongodb-version }}
35
+
36
+ - run : npm install
37
+
38
+ - run : npm test
39
+ env :
40
+ CI : true
41
+
42
+ - run : npm run nyc
43
+
44
+ - run : |
45
+ istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --compilers js:@ babel/ register \
46
+ && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js \
47
+ && rm -rf ./coverage
48
+
49
+ - name : Coveralls
50
+ uses : coverallsapp/github-action@master
51
+ with :
52
+ github-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments