This repository was archived by the owner on Jun 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +39
-3
lines changed Expand file tree Collapse file tree 2 files changed +39
-3
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
+ pull_request :
8
+ branches :
9
+ - master
10
+ - dev
11
+
12
+ jobs :
13
+ test-and-release :
14
+ name : Run tests and release
15
+ runs-on : ubuntu-18.04
16
+ steps :
17
+ - name : Checkout
18
+ uses : actions/checkout@v1
19
+ - name : Setup Node.js
20
+ uses : actions/setup-node@v1
21
+ with :
22
+ node-version : 12
23
+ - name : Install dependencies
24
+ run : npm ci
25
+ - name : Run tests
26
+ run : npm test
27
+ - name : Release
28
+ env :
29
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
31
+ run : npm run semantic-release
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @asigloo/vue-dynamic-forms" ,
3
- "version" : " 0.3.1 " ,
3
+ "version" : " 0.0.0-development " ,
4
4
"description" : " Easy way to dynamically create reactive forms in vue based on varying business object model" ,
5
5
"author" :
" Alvaro Saburido <[email protected] >" ,
6
6
"license" : " MIT" ,
11
11
"bugs" : {
12
12
"url" : " https://github.com/alvarosaburido/vue-dynamic-forms/issues"
13
13
},
14
+ "publishConfig" : {
15
+ "access" : " public"
16
+ },
14
17
"scripts" : {
15
18
"serve" : " vue-cli-service serve" ,
16
19
"build" : " vue-cli-service build --target lib --name as-dynamic-forms src/index.js" ,
17
20
"lint" : " vue-cli-service lint" ,
18
21
"test" : " vue-cli-service test:unit --verbose --no-cache --watchAll" ,
19
22
"publish" : " npm run build && npm publish --access public" ,
20
23
"docs:dev" : " vuepress dev docs" ,
21
- "docs:build" : " vuepress build docs"
24
+ "docs:build" : " vuepress build docs" ,
25
+ "semantic-release" : " semantic-release"
22
26
},
23
27
"main" : " dist/as-dynamic-forms.common.js" ,
24
28
"dependencies" : {
45
49
"sass-loader" : " ^9.0.1" ,
46
50
"vue-select" : " ^3.10.7" ,
47
51
"vue-template-compiler" : " ^2.6.11" ,
48
- "vuepress" : " ^1.5.2"
52
+ "vuepress" : " ^1.5.2" ,
53
+ "semantic-release" : " ^17.1.1"
49
54
}
50
55
}
You can’t perform that action at this time.
0 commit comments