File tree Expand file tree Collapse file tree 4 files changed +20
-12
lines changed Expand file tree Collapse file tree 4 files changed +20
-12
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
+ - next
7
8
8
9
jobs :
9
10
build-and-deploy :
21
22
- run : yarn build
22
23
23
24
- name : Deploy
25
+ if : github.ref == 'refs/heads/main'
24
26
uses : JamesIves/github-pages-deploy-action@4.1.7
25
27
with :
26
28
branch : gh-pages
27
- folder : docs/src/.vuepress/dist
29
+ folder : docs/src/.vuepress/dist
30
+
31
+ - name : Deploy next
32
+ if : github.ref == 'refs/heads/next'
33
+ uses : JamesIves/github-pages-deploy-action@4.1.7
34
+ with :
35
+ branch : gh-pages
36
+ folder : docs/src/.vuepress/dist
37
+ target-folder : ./next
Original file line number Diff line number Diff line change 1
1
name : Release
2
2
3
- on :
4
- push :
5
- branches :
6
- - main
7
- pull_request :
8
- branches :
9
- - main
3
+ on : [push, pull_request]
10
4
11
5
jobs :
12
6
test :
31
25
name : Release
32
26
runs-on : ubuntu-latest
33
27
needs : [test]
34
- if : ${{ github.event_name == 'push' }}
28
+ if : github.event_name == 'push'
35
29
steps :
36
30
- name : Checkout
37
31
uses : actions/checkout@v2
45
39
run : yarn install
46
40
47
41
- name : Build
48
- run : yarn build-core && yarn build-vuetify
42
+ run : yarn build-core && yarn build-vuetify && yarn build-light
49
43
50
44
- name : Release
51
45
env :
Original file line number Diff line number Diff line change 1
1
{
2
- "branches" : [" main" ],
2
+ "branches" : [
3
+ " main" ,
4
+ " next" ,
5
+ { "name" : " beta" , "prerelease" : true }
6
+ ],
3
7
"plugins" : [
4
8
" @semantic-release/commit-analyzer" ,
5
9
" @semantic-release/release-notes-generator" ,
Original file line number Diff line number Diff line change 22
22
"dev-vuetify" : " cd vuetify && yarn serve" ,
23
23
"test" : " yarn test-core" ,
24
24
"test-core" : " cd core && yarn test" ,
25
- "dry-run" : " multi-semantic-release --dry-run"
25
+ "dry-run" : " multi-semantic-release --dry-run --ignore-private-packages "
26
26
},
27
27
"devDependencies" : {
28
28
"@babel/core" : " ^7.12.13" ,
You can’t perform that action at this time.
0 commit comments