File tree 1 file changed +16
-10
lines changed
1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,11 @@ jobs:
14
14
- uses : actions/checkout@master
15
15
with :
16
16
ref : ' refs/heads/main'
17
+ token : ${{ secrets.ACTION_GITHUB_BOT }}
17
18
18
- - name : Setup node
19
- uses : actions/setup-node@v2
20
- with :
21
- cache : ' yarn'
22
-
23
- - name : Install dependencies
24
- run : yarn
19
+ # #################
20
+ # Version upping #
21
+ # #################
25
22
26
23
# Note: it's important that this is being run before the version is upped
27
24
# because a commit will be created during the process
@@ -34,12 +31,21 @@ jobs:
34
31
- name : Up version
35
32
run : yarn version --new-version ${{ github.event.release.tag_name }}
36
33
37
- - name : Set remote url with github token
38
- run : git remote set-url origin https://${{ secrets.ACTION_GITHUB_BOT }}@github.com/on3iro/aeons-end-randomizer
39
-
40
34
- name : Push version commit
41
35
run : git push origin main
42
36
37
+ # #############
38
+ # Publishing #
39
+ # #############
40
+
41
+ - name : Setup node
42
+ uses : actions/setup-node@v2
43
+ with :
44
+ cache : ' yarn'
45
+
46
+ - name : Install dependencies
47
+ run : yarn
48
+
43
49
- name : Build app
44
50
run : yarn build
45
51
You can’t perform that action at this time.
0 commit comments