We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e0bac5 commit ea15d6aCopy full SHA for ea15d6a
.github/workflows/ci.yml
@@ -0,0 +1,35 @@
1
+name: CI
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ test:
7
+ name: Node.js v${{ matrix.nodejs }}
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ nodejs: [6, 8, 10, 12]
12
+ steps:
13
+ - uses: actions/checkout@master
14
+ with:
15
+ fetch-depth: 1
16
17
+ - uses: actions/setup-node@v1
18
19
+ node-version: ${{ matrix.nodejs }}
20
21
+ - name: Install
22
+ run: |
23
+ npm install
24
+ npm install -g nyc
25
26
+ - name: Test w/ Coverage
27
+ run: nyc --include=packages npm test
28
29
+ - name: Report
30
+ if: matrix.nodejs >= 12
31
32
+ nyc report --reporter=text-lcov > coverage.lcov
33
+ bash <(curl -s https://codecov.io/bash)
34
+ env:
35
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
0 commit comments