File tree 8 files changed +694
-4767
lines changed
8 files changed +694
-4767
lines changed Original file line number Diff line number Diff line change
1
+ name : Node.js CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ - next
8
+ paths :
9
+ - ' **'
10
+ - ' !**.md'
11
+ pull_request :
12
+ branches :
13
+ - master
14
+ - next
15
+ paths :
16
+ - ' **'
17
+ - ' !**.md'
18
+
19
+ jobs :
20
+ test :
21
+ strategy :
22
+ matrix :
23
+ node : [10, 12, 14]
24
+ runs-on : ubuntu-latest
25
+
26
+ steps :
27
+ - uses : actions/checkout@v2
28
+ - name : Use Node.js ${{ matrix.node }}
29
+ uses : actions/setup-node@v2
30
+ with :
31
+ node-version : ${{ matrix.node }}
32
+
33
+ - name : Get yarn cache directory path
34
+ id : yarn-cache
35
+ run : echo "::set-output name=dir::$(yarn cache dir)"
36
+ - name : Cache Dependencies
37
+ uses : actions/cache@v2
38
+ with :
39
+ path : ${{ steps.yarn-cache.outputs.dir }}
40
+ key : yarn-${{ hashFiles('**/yarn.lock') }}
41
+ restore-keys : |
42
+ yarn-
43
+ - name : Install Project Dependencies
44
+ run : yarn --frozen-lockfile
45
+
46
+ - name : Test
47
+ run : yarn test
Original file line number Diff line number Diff line change 13
13
"vue-template-compiler" : " ^2.5.21"
14
14
},
15
15
"devDependencies" : {
16
- "@babel/core" : " ^7.2.2" ,
17
- "@babel/preset-env" : " ^7.2.3" ,
18
- "@vue/test-utils" : " ^1.0.5" ,
19
- "jest" : " ^24.0.0" ,
20
- "ts-jest" : " ^26.3.0"
16
+ "@babel/core" : " ^7.9.0" ,
17
+ "@babel/preset-env" : " ^7.9.0" ,
18
+ "@vue/test-utils" : " ^1.1.0" ,
19
+ "jest" : " 26.x" ,
20
+ "ts-jest" : " ^26.3.0" ,
21
+ "vue-jest" : " file:../../../"
21
22
},
22
23
"jest" : {
23
24
"moduleFileExtensions" : [
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 12
12
"vue-template-compiler" : " ^2.5.21"
13
13
},
14
14
"devDependencies" : {
15
- "@babel/core" : " ^7.2.2 " ,
16
- "@babel/preset-env" : " ^7.2.3 " ,
17
- "@vue/test-utils" : " ^1.0.5 " ,
15
+ "@babel/core" : " ^7.9.0 " ,
16
+ "@babel/preset-env" : " ^7.9.0 " ,
17
+ "@vue/test-utils" : " ^1.1.0 " ,
18
18
"babel-helper-vue-jsx-merge-props" : " ^2.0.3" ,
19
19
"babel-plugin-syntax-jsx" : " ^6.18.0" ,
20
20
"babel-plugin-transform-vue-jsx" : " ^3.7.0" ,
21
- "jest" : " ^24.0.0 " ,
21
+ "jest" : " 26.x " ,
22
22
"vue-jest" : " file:../../../"
23
23
},
24
24
"jest" : {
Original file line number Diff line number Diff line change 12
12
"vue-template-compiler" : " ^2.5.21"
13
13
},
14
14
"devDependencies" : {
15
- "@babel/core" : " ^7.2.2 " ,
16
- "@babel/preset-env" : " ^7.2.3 " ,
17
- "@vue/test-utils" : " ^1.0.5 " ,
18
- "jest" : " ^24.0.0 " ,
15
+ "@babel/core" : " ^7.9.0 " ,
16
+ "@babel/preset-env" : " ^7.9.0 " ,
17
+ "@vue/test-utils" : " ^1.1.0 " ,
18
+ "jest" : " 26.x " ,
19
19
"postcss" : " ^7.0.13" ,
20
20
"postcss-color-function" : " ^4.0.1" ,
21
21
"sass" : " ^1.23.7" ,
Original file line number Diff line number Diff line change 12
12
"vue-template-compiler" : " ^2.5.21"
13
13
},
14
14
"devDependencies" : {
15
- "@babel/core" : " ^7.2.2 " ,
16
- "@babel/preset-env" : " ^7.2.3 " ,
17
- "@vue/test-utils " : " ^1.0.5 " ,
18
- "jest " : " ^24.0 .0" ,
15
+ "@babel/core" : " ^7.9.0 " ,
16
+ "@babel/preset-env" : " ^7.9.0 " ,
17
+ "jest " : " 26.x " ,
18
+ "@vue/test-utils " : " ^1.1 .0" ,
19
19
"postcss" : " ^7.0.13" ,
20
20
"sass" : " ^1.23.7"
21
21
},
Original file line number Diff line number Diff line change 29
29
"author" : " Edd Yerburgh" ,
30
30
"license" : " MIT" ,
31
31
"devDependencies" : {
32
- "@babel/core" : " ^7.2.2 " ,
33
- "@babel/preset-env" : " ^7.2.3 " ,
32
+ "@babel/core" : " ^7.9.0 " ,
33
+ "@babel/preset-env" : " ^7.9.0 " ,
34
34
"@vue/test-utils" : " ^1.1.0" ,
35
35
"babel-core" : " ^7.0.0-bridge.0" ,
36
36
"babel-jest" : " ^23.6.0" ,
You can’t perform that action at this time.
0 commit comments