Skip to content

Commit

Permalink
chore: add NODE_OPTIONS to bundle command
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrsoares committed Oct 25, 2023
1 parent 0f494e5 commit ddf21c7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

2 comments on commit ddf21c7

@vercel
Copy link

@vercel vercel bot commented on ddf21c7 Oct 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

axelar-ui – ./packages/ui

axelar-ui-axelar-network.vercel.app
axelar-ui-git-main-axelar-network.vercel.app
ui.axelar.dev
axelar-ui.vercel.app

@vercel
Copy link

@vercel vercel bot commented on ddf21c7 Oct 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

axelar-registry – ./apps/registry

axelar-registry-axelar-network.vercel.app
axelar-registry-git-main-axelar-network.vercel.app

Please sign in to comment.