Commit 66c992b 1 parent bcab60b commit 66c992b Copy full SHA for 66c992b
File tree 10 files changed +558
-19265
lines changed
10 files changed +558
-19265
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
3
3
on :
4
- push :
5
- branches :
6
- - main
7
- - develop
8
4
pull_request :
9
5
branches :
10
6
- main
@@ -20,17 +16,21 @@ jobs:
20
16
strategy :
21
17
matrix :
22
18
node-version : [20]
19
+
23
20
steps :
24
21
- uses : actions/checkout@v4
22
+
25
23
- name : Install pnpm
26
24
uses : pnpm/action-setup@v3
27
25
with :
28
26
version : 9
27
+
29
28
- name : Use Node.js ${{ matrix.node-version }}
30
29
uses : actions/setup-node@v4
31
30
with :
32
31
node-version : ${{ matrix.node-version }}
33
32
cache : pnpm
33
+
34
34
- name : Install dependencies
35
35
run : pnpm install
36
36
Original file line number Diff line number Diff line change
1
+ name : Release Develop
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - develop
7
+ paths-ignore :
8
+ - README.md
9
+ - LICENSE.md
10
+ - ' scripts/**'
11
+ - ' .github/**'
12
+
13
+ permissions :
14
+ contents : write
15
+ packages : write
16
+
17
+ concurrency :
18
+ group : development_environment
19
+ cancel-in-progress : true
20
+
21
+ jobs :
22
+ build :
23
+ runs-on : ubuntu-latest
24
+
25
+ steps :
26
+ - uses : actions/checkout@v4
27
+
28
+ - name : Install pnpm
29
+ uses : pnpm/action-setup@v3
30
+ with :
31
+ version : 9
32
+
33
+ - name : Use Node.js 20
34
+ uses : actions/setup-node@v4
35
+ with :
36
+ node-version : 20
37
+ cache : pnpm
38
+
39
+ - name : Install dependencies
40
+ run : pnpm install
41
+
42
+ - name : Compile
43
+ run : pnpm build-dev --verbose
44
+
45
+ - name : Build project
46
+ run : rojo build ./default.project.json --output place.rbxlx
47
+
48
+ - name : Upload place
49
+ uses : actions/upload-artifact@v4
50
+ with :
51
+ name : place
52
+ path : place.rbxlx
53
+
54
+ deploy :
55
+ runs-on : ubuntu-latest
56
+ environment : development
57
+ needs : build
58
+
59
+ steps :
60
+ - uses : actions/checkout@v4
61
+ - uses : ok-nick/setup-aftman@v0.4.2
62
+ with :
63
+ token : ${{ secrets.GITHUB_TOKEN }}
64
+
65
+ - name : Download place artifact
66
+ uses : actions/download-artifact@v3
67
+ with :
68
+ name : place
69
+
70
+ - name : Deploy place
71
+ run : mantle deploy --environment development
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ release :
5
+ types :
6
+ - released
7
+ workflow_dispatch :
8
+
9
+ permissions :
10
+ contents : write
11
+ packages : write
12
+
13
+ concurrency :
14
+ group : production_environment
15
+ cancel-in-progress : true
16
+
17
+ jobs :
18
+ build :
19
+ runs-on : ubuntu-latest
20
+
21
+ steps :
22
+ - uses : actions/checkout@v4
23
+
24
+ - name : Install pnpm
25
+ uses : pnpm/action-setup@v3
26
+ with :
27
+ version : 9
28
+
29
+ - name : Use Node.js 20
30
+ uses : actions/setup-node@v4
31
+ with :
32
+ node-version : 20
33
+ cache : pnpm
34
+
35
+ - name : Install dependencies
36
+ run : pnpm install
37
+
38
+ - name : Compile
39
+ run : pnpm build-prod --verbose
40
+
41
+ - name : Build project
42
+ run : rojo build ./build.project.json --output place.rbxlx
43
+
44
+ - name : Upload place
45
+ uses : actions/upload-artifact@v4
46
+ with :
47
+ name : place
48
+ path : place.rbxlx
49
+
50
+ deploy :
51
+ runs-on : ubuntu-latest
52
+ environment : production
53
+ needs : build
54
+
55
+ steps :
56
+ - uses : actions/checkout@v4
57
+ - uses : ok-nick/setup-aftman@v0.4.2
58
+ with :
59
+ token : ${{ secrets.GITHUB_TOKEN }}
60
+
61
+ - name : Download place artifact
62
+ uses : actions/download-artifact@v3
63
+ with :
64
+ name : place
65
+
66
+ - name : Deploy game
67
+ run : mantle deploy --allow-purchases --environment production
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ flamework.build
11
11
sourcemap.json
12
12
* .rbxl.lock
13
13
* .rbxl
14
+ * .rbxlx
14
15
15
16
# Bundled eslint config
16
17
* .mjs
You can’t perform that action at this time.
0 commit comments