File tree 3 files changed +40
-9
lines changed
3 files changed +40
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : Docker
2
2
3
3
on :
4
- push :
5
- branches :
6
- - master
7
- - main
8
-
9
- pull_request :
10
- branches :
11
- - master
12
- - main
13
4
14
5
workflow_dispatch :
15
6
inputs :
Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ on :
4
+
5
+ push :
6
+ pull_request :
7
+
8
+
9
+ jobs :
10
+ dry-run :
11
+ name : Dry Run
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+
17
+ - uses : oven-sh/setup-bun@v2
18
+
19
+ - name : Install dependencies
20
+ run : bun install
21
+
22
+ - name : Test dry run
23
+ run : |
24
+ timeout 5s bun run start || if [ $? -eq 124 ]; then exit 0; else exit 1; fi
25
+
26
+ compile :
27
+ name : Compile
28
+ runs-on : ubuntu-latest
29
+
30
+ steps :
31
+ - uses : actions/checkout@v4
32
+
33
+ - uses : oven-sh/setup-bun@v2
34
+
35
+ - name : Install dependencies
36
+ run : bun install
37
+
38
+ - name : Test Compile
39
+ run : bun run build
Original file line number Diff line number Diff line change 4
4
"description" : " " ,
5
5
"main" : " index.ts" ,
6
6
"scripts" : {
7
+ "start" : " bun run index.ts" ,
7
8
"build" : " bun build index.ts --compile --minify --bytecode --outfile dist/server" ,
8
9
"build:dev" : " bun build index.ts --compile --sourcemap --outfile dist/server"
9
10
},
You can’t perform that action at this time.
0 commit comments