File tree 2 files changed +34
-2
lines changed
2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change
1
+ # Github worklfow that runs an ubuntu job to build and release the project when pushed to production
2
+
3
+ name : Release
4
+
5
+ on :
6
+ push :
7
+ branches :
8
+ - production
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+ name : Checkout code
16
+
17
+ name : Install aftman
18
+ - uses : actions/setup-node@v3
19
+ name : Install node
20
+ with :
21
+ node-version : " 18"
22
+ - uses : pnpm/action-setup@v2
23
+ with :
24
+ version : latest
25
+ - name : Install dependencies
26
+ run : pnpm install && aftman install
27
+ - name : Build
28
+ run : mkdir -p out && pnpm transpile && pnpm build
29
+ - name : Upload build
30
+ uses : actions/upload-artifact@v3
31
+ with :
32
+ name : Control-Client
33
+ path : out/Control-Client.rbxm
Original file line number Diff line number Diff line change 5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"transpile" : " rbxtsc" ,
8
- "build" : " rojo build -o out/Control-Client.rbxm" ,
9
- "watch" : " rbxtsc -w"
8
+ "build" : " rojo build -o out/Control-Client.rbxm"
10
9
},
11
10
"keywords" : [],
12
11
"author" : " " ,
You can’t perform that action at this time.
0 commit comments