Skip to content

Commit a8ea099

Browse files
.github/workflows
1 parent 85fff0f commit a8ea099

File tree

2 files changed

+45
-3
lines changed

2 files changed

+45
-3
lines changed

.github/workflows/build.yml .github/workflows/build-dev.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
name: Test build
1+
name: DEV - Test build
22

33
on:
44
push:
55
branches:
6-
- main
76
- release
87

98
pull_request:
109
branches:
11-
- main
1210
- release
1311

1412
permissions:

.github/workflows/build-prod.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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/

0 commit comments

Comments
 (0)