File tree 3 files changed +24
-108
lines changed
3 files changed +24
-108
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
10
+
11
+ jobs :
12
+ ci :
13
+ uses : halo-sigs/reusable-workflows/.github/workflows/plugin-ci.yaml@v1
14
+ with :
15
+ ui-path : " ui"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -35,13 +35,20 @@ node {
35
35
nodeProjectDir = file(" ${ project.projectDir} /ui" )
36
36
}
37
37
38
- task buildFrontend ( type : PnpmTask ) {
38
+ tasks . register( ' buildFrontend ' , PnpmTask ) {
39
39
args = [' build' ]
40
+ dependsOn(' installDepsForUI' )
41
+ }
42
+
43
+ tasks. register(' installDepsForUI' , PnpmTask ) {
44
+ args = [' install' ]
40
45
}
41
46
42
47
build {
43
48
// build frontend before build
44
- tasks. getByName(' compileJava' ). dependsOn(' buildFrontend' )
49
+ tasks. named(' compileJava' ). configure {
50
+ dependsOn(' buildFrontend' )
51
+ }
45
52
}
46
53
47
54
halo {
You can’t perform that action at this time.
0 commit comments