diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 05c3fa3e8..5aecba3f9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,6 +23,6 @@ jobs: uses: ./.github/actions/install-dependencies - name: Run tests - run: NODE_OPTIONS="--max-old-space-size=4096" pnpm test + run: pnpm test env: COSMOS_WALLET_MNEMONIC: ${{ secrets.COSMOS_WALLET_MNEMONIC }} diff --git a/.husky/pre-commit b/.husky/pre-commit index 4182f7be2..ec5422179 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,5 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -NODE_OPTIONS="--max-old-space-size=4096" pnpm compile +pnpm compile pnpm lint-staged diff --git a/packages/ui/package.json b/packages/ui/package.json index 32917592c..994daad68 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -48,9 +48,9 @@ "./unstated": "./src/lib/unstated.tsx" }, "scripts": { - "build": "NODE_OPTIONS=\"--max-old-space-size=4096\" pnpm compile && pnpm bundle", + "build": "pnpm compile && pnpm bundle", "compile": "tsc --noEmit", - "bundle": "tsup", + "bundle": "NODE_OPTIONS=\"--max-old-space-size=4096\" tsup", "preview": "vite preview", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build",