File tree Expand file tree Collapse file tree 8 files changed +694
-4767
lines changed Expand file tree Collapse file tree 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 1313 "vue-template-compiler" : " ^2.5.21"
1414 },
1515 "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:../../../"
2122 },
2223 "jest" : {
2324 "moduleFileExtensions" : [
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1212 "vue-template-compiler" : " ^2.5.21"
1313 },
1414 "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 " ,
1818 "babel-helper-vue-jsx-merge-props" : " ^2.0.3" ,
1919 "babel-plugin-syntax-jsx" : " ^6.18.0" ,
2020 "babel-plugin-transform-vue-jsx" : " ^3.7.0" ,
21- "jest" : " ^24.0.0 " ,
21+ "jest" : " 26.x " ,
2222 "vue-jest" : " file:../../../"
2323 },
2424 "jest" : {
Original file line number Diff line number Diff line change 1212 "vue-template-compiler" : " ^2.5.21"
1313 },
1414 "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 " ,
1919 "postcss" : " ^7.0.13" ,
2020 "postcss-color-function" : " ^4.0.1" ,
2121 "sass" : " ^1.23.7" ,
Original file line number Diff line number Diff line change 1212 "vue-template-compiler" : " ^2.5.21"
1313 },
1414 "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" ,
1919 "postcss" : " ^7.0.13" ,
2020 "sass" : " ^1.23.7"
2121 },
Original file line number Diff line number Diff line change 2929 "author" : " Edd Yerburgh" ,
3030 "license" : " MIT" ,
3131 "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 " ,
3434 "@vue/test-utils" : " ^1.1.0" ,
3535 "babel-core" : " ^7.0.0-bridge.0" ,
3636 "babel-jest" : " ^23.6.0" ,
You can’t perform that action at this time.
0 commit comments