Skip to content

Commit 1665deb

Browse files
committed
chore: add build production bundle step
1 parent 65f6949 commit 1665deb

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

Diff for: .github/workflows/heroku-deploy.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,20 @@ jobs:
1515
- name: Checkout
1616
uses: actions/checkout@v2
1717

18-
19-
### ⬇ IMPORTANT PART ⬇ ###
18+
- name: Set Node.js 18.x
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: 18.x
22+
23+
- name: Run install
24+
uses: borales/actions-yarn@v4
25+
with:
26+
cmd: install
27+
28+
- name: Build production bundle
29+
uses: borales/actions-yarn@v4
30+
with:
31+
cmd: build:backend --config ../../app-config.yaml
2032

2133
- name: Build, Push and Release a Docker container to Heroku. # Your custom step name
2234
uses: gonuit/[email protected] # GitHub action name (leave it as it is).

0 commit comments

Comments
 (0)