Skip to content

Commit 5de8c20

Browse files
committed
chore: update build-bundler workflow to include environment variables and additional build step
1 parent 5c1aa19 commit 5de8c20

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/build-bundler.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,13 @@ jobs:
2727
build:
2828
runs-on: ubuntu-latest
2929
permissions:
30-
contents: write # Needed for creating releases
30+
contents: write
3131
packages: write
32-
32+
33+
env:
34+
NODE_ENV: development
35+
NODE_OPTIONS: "--max-old-space-size=4096"
36+
3337
steps:
3438
- name: Checkout repository
3539
uses: actions/checkout@v4
@@ -45,6 +49,9 @@ jobs:
4549

4650
- name: Build dependencies
4751
run: yarn build:deps
52+
53+
- name: Build common, components, and app packages
54+
run: lerna run build --scope @codesandbox/common --scope @codesandbox/components --scope app
4855

4956
- name: Build Sandpack
5057
run: yarn build:sandpack

0 commit comments

Comments
 (0)