Commit 3850f91 1 parent f1e520c commit 3850f91 Copy full SHA for 3850f91
File tree 1 file changed +40
-0
lines changed
1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ ci :
7
+ runs-on : ${{ matrix.os }}
8
+ strategy :
9
+ fail-fast : false
10
+ matrix :
11
+ os :
12
+ - ubuntu-latest
13
+ - macos-latest
14
+ - windows-latest
15
+ name : Run on ${{ matrix.os }}
16
+ steps :
17
+ - uses : actions/checkout@v2
18
+ - name : Setup node
19
+ uses : actions/setup-node@v2
20
+ with :
21
+ node-version : 12
22
+ - name : Build
23
+ run : |
24
+ npm ci
25
+ npm run init
26
+ npm run build
27
+ npm run bundle
28
+ - name : Test
29
+ run : |
30
+ npm test
31
+ npm run test-cov
32
+ npm run check-format
33
+ # - name: Merge Reports
34
+ # if: success()
35
+ # run: 'npm run merge-report && cat coverage/lcov.info'
36
+ # - name: Upload Report
37
+ # if: success()
38
+ # uses: coverallsapp/github-action@master
39
+ # with:
40
+ # github-token: ${{ secrets.coverall_token }}
You can’t perform that action at this time.
0 commit comments