fix build issues with nextjs (#7006)

This commit is contained in:
Dotan Simha 2025-09-16 13:37:58 +03:00 committed by GitHub
parent 1d5d251078
commit e3ee46649c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -64,6 +64,8 @@ jobs:
- name: build packages and applications
if: ${{ inputs.build }}
run: pnpm build
env:
NODE_OPTIONS: '--max-old-space-size=14336' # GitHub Actions gives us 16GB, it's ok to use 80%
- name: test ESM & CJS exports integrity
if: ${{ inputs.build }}

View file

@ -18,7 +18,7 @@
"pnpm": ">=10.4.0"
},
"scripts": {
"build": "pnpm turbo build --color",
"build": "pnpm turbo build --color --filter '!@hive/docs'",
"build:libraries": "pnpm prebuild && pnpm graphql:generate && pnpm turbo build --filter=./packages/libraries/* --color",
"build:services": "pnpm prebuild && pnpm turbo build --filter=./packages/services/**/* --filter=./packages/migrations --color",
"build:web": "pnpm prebuild && pnpm turbo build --filter=./packages/web/* --color",