Commit a8ea099 1 parent 85fff0f commit a8ea099 Copy full SHA for a8ea099
File tree 2 files changed +45
-3
lines changed
2 files changed +45
-3
lines changed Original file line number Diff line number Diff line change 1
- name : Test build
1
+ name : DEV - Test build
2
2
3
3
on :
4
4
push :
5
5
branches :
6
- - main
7
6
- release
8
7
9
8
pull_request :
10
9
branches :
11
- - main
12
10
- release
13
11
14
12
permissions :
Original file line number Diff line number Diff line change
1
+ name : PROD - Test build
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ pull_request :
9
+ branches :
10
+ - main
11
+
12
+ permissions :
13
+ contents : read
14
+
15
+ jobs :
16
+ build :
17
+ name : Build - node 18
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - uses : actions/checkout@v3
21
+ with :
22
+ fetch-depth : 0
23
+
24
+ - name : Use Node.js 18.x
25
+ uses : actions/setup-node@v3
26
+ with :
27
+ node-version : ' 18'
28
+ cache : ' yarn'
29
+
30
+ - name : Install
31
+ uses : borales/actions-yarn@v4
32
+ with :
33
+ cmd : install
34
+
35
+ - name : Build bundle
36
+ uses : borales/actions-yarn@v4
37
+ with :
38
+ cmd : build
39
+
40
+ - name : Upload artifact
41
+ uses : actions/upload-artifact@v3
42
+ with :
43
+ name : build
44
+ path : ${{github.workspace}}/build/
You can’t perform that action at this time.
0 commit comments