Skip to content

Commit e3ee466

Browse files
authored
fix build issues with nextjs (#7006)
1 parent 1d5d251 commit e3ee466

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/build-and-dockerize.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ jobs:
6464
- name: build packages and applications
6565
if: ${{ inputs.build }}
6666
run: pnpm build
67+
env:
68+
NODE_OPTIONS: '--max-old-space-size=14336' # GitHub Actions gives us 16GB, it's ok to use 80%
6769

6870
- name: test ESM & CJS exports integrity
6971
if: ${{ inputs.build }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"pnpm": ">=10.4.0"
1919
},
2020
"scripts": {
21-
"build": "pnpm turbo build --color",
21+
"build": "pnpm turbo build --color --filter '!@hive/docs'",
2222
"build:libraries": "pnpm prebuild && pnpm graphql:generate && pnpm turbo build --filter=./packages/libraries/* --color",
2323
"build:services": "pnpm prebuild && pnpm turbo build --filter=./packages/services/**/* --filter=./packages/migrations --color",
2424
"build:web": "pnpm prebuild && pnpm turbo build --filter=./packages/web/* --color",

0 commit comments

Comments
 (0)