Commit 79c71f1 1 parent 589ff53 commit 79c71f1 Copy full SHA for 79c71f1
File tree 2 files changed +67
-0
lines changed
2 files changed +67
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ - ' v*' # older version branches
8
+ tags :
9
+ - ' *'
10
+ pull_request : {}
11
+ schedule :
12
+ - cron : ' 0 6 * * 0' # weekly, on sundays
13
+
14
+ jobs :
15
+ lint :
16
+ name : Linting
17
+ runs-on : ubuntu-latest
18
+
19
+ steps :
20
+ - uses : actions/checkout@v1
21
+ - uses : actions/setup-node@v1
22
+ with :
23
+ node-version : 12.x
24
+ - name : install yarn
25
+ run : npm install -g yarn
26
+ - name : install dependencies
27
+ run : yarn install
28
+ - name : linting
29
+ run : yarn lint
30
+
31
+ test :
32
+ name : Tests
33
+ runs-on : ${{ matrix.os }}
34
+
35
+ strategy :
36
+ matrix :
37
+ node : ['^8.12.0', '10', '12']
38
+ os : [ubuntu-latest, windows-latest, macOS-latest]
39
+
40
+ steps :
41
+ - uses : actions/checkout@v1
42
+ - uses : actions/setup-node@v1
43
+ with :
44
+ node-version : ${{ matrix.node }}
45
+ - name : install yarn
46
+ run : npm install --global yarn
47
+ - name : install dependencies
48
+ run : yarn
49
+ - name : test
50
+ run : yarn test
51
+
52
+ floating-test :
53
+ name : Floating dependencies
54
+ runs-on : ubuntu-latest
55
+
56
+ steps :
57
+ - uses : actions/checkout@v1
58
+ - uses : actions/setup-node@v1
59
+ with :
60
+ node-version : ' 12.x'
61
+ - name : install yarn
62
+ run : npm install -g yarn
63
+ - name : install dependencies
64
+ run : yarn install --no-lockfile
65
+ - name : test
66
+ run : yarn test
Original file line number Diff line number Diff line change 29
29
"test" : " tests"
30
30
},
31
31
"scripts" : {
32
+ "lint" : " eslint ." ,
32
33
"lint:js" : " eslint ." ,
33
34
"release" : " release-it" ,
34
35
"test" : " qunit tests/**/*-test.js"
You can’t perform that action at this time.
0 commit comments