File tree Expand file tree Collapse file tree 6 files changed +16151
-378
lines changed Expand file tree Collapse file tree 6 files changed +16151
-378
lines changed Original file line number Diff line number Diff line change @@ -38,22 +38,38 @@ jobs:
38
38
39
39
release :
40
40
if : github.event_name == 'push' && github.ref == 'refs/heads/main'
41
- needs : docker
41
+ needs : build
42
42
runs-on : ubuntu-latest
43
43
steps :
44
44
- name : Checkout
45
45
uses : actions/checkout@v3
46
+ with :
47
+ fetch-depth : 0
46
48
- name : Setup NodeJS
47
49
uses : actions/setup-node@v3
48
50
with :
49
51
node-version : 18
50
52
cache : ' yarn'
51
- - run : yarn install --immutable
52
- - run : yarn run release
53
+ - run : yarn install
54
+ - run : yarn run semantic-release -e semantic-release-monorepo
55
+ name : Release Server
56
+ working-directory : ./server
57
+ env :
58
+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
59
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
60
+ - run : yarn up
61
+ - run : yarn run semantic-release -e semantic-release-monorepo
62
+ name : Release Client
63
+ working-directory : ./client
64
+ env :
65
+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
66
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
67
+ - run : yarn up
53
68
- run : |
54
69
git config --global user.name 'Bot'
55
70
git config --global user.email 'info@educorvi.de'
56
- git commit -am "chore: version"
71
+ git add -A
72
+ git diff-index --quiet HEAD || git commit -am "chore: version[skip-ci]"
57
73
git checkout develop
58
74
git rebase main
59
75
git push
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " timeclicker_client" ,
3
- "version" : " 0 .0.0" ,
3
+ "version" : " 1 .0.0" ,
4
4
"private" : true ,
5
5
"scripts" : {
6
6
"dev" : " vite --host" ,
You can’t perform that action at this time.
0 commit comments