File tree 2 files changed +48
-3
lines changed 2 files changed +48
-3
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,55 @@ jobs:
11
11
build-and-push-image :
12
12
runs-on : ubuntu-latest
13
13
14
+ permissions :
15
+ packages : write
16
+
14
17
steps :
15
18
- uses : actions/checkout@v4
16
19
20
+ # setup build tools
21
+ - name : Set up QEMU
22
+ uses : docker/setup-qemu-action@v2
23
+
24
+ - name : Set up Docker Buildx
25
+ uses : docker/setup-buildx-action@v2
26
+
27
+ # build acts-util-core
28
+ - name : Checkout ACTS-Util repo
29
+ uses : actions/checkout@v4
30
+ with :
31
+ repository : aczwink/ACTS-Util
32
+ path : actsutil
33
+
34
+ - name : Building acts-util-core
35
+ run : |
36
+ npm install
37
+ npm run compile
38
+ npm link
39
+ working-directory : ./actsutil/core
40
+
41
+ # build acts-util-node
42
+ - name : Building acts-util-node
43
+ run : |
44
+ npm link acts-util-core
45
+ npm install
46
+ npm run build
47
+ npm link
48
+ working-directory : ./actsutil/node
49
+
50
+ # build acts-util-apilib
51
+ - name : Building acts-util-apilib
52
+ run : |
53
+ npm link acts-util-core acts-util-node
54
+ npm install
55
+ npm run build
56
+ npm link
57
+ working-directory : ./actsutil/apilib
58
+
17
59
# build service
18
- - name : Build servuce
60
+ - name : Build service
19
61
run : |
62
+ npm link acts-util-apilib acts-util-core acts-util-node
20
63
npm install
21
64
npm run build
22
65
working-directory : ./service
29
72
username : ${{ github.actor }}
30
73
password : ${{ secrets.GITHUB_TOKEN }}
31
74
32
- - name : Build and push oidp image
75
+ - name : Build and push service image
33
76
uses : docker/build-push-action@v4
34
77
with :
35
78
context : ./service
Original file line number Diff line number Diff line change 16
16
"@types/jsonwebtoken" : " ^9.0.7" ,
17
17
"nodemon" : " ^3.1.7" ,
18
18
"ts-loader" : " ^9.5.1" ,
19
- "typescript" : " ^5.6.3"
19
+ "typescript" : " ^5.6.3" ,
20
+ "webpack" : " ^5.74.0" ,
21
+ "webpack-cli" : " ^4.10.0"
20
22
},
21
23
"dependencies" : {
22
24
"acts-util-apilib" : " *" ,
You can’t perform that action at this time.
0 commit comments