Skip to content

Commit 6d0b505

Browse files
committed
[Docs builds] Move node options to package.json for viz + standardization
1 parent 6c738db commit 6d0b505

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/anchor-link-audit.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ jobs:
3939
- run: npm run build
4040
env:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
NODE_OPTIONS: "--max-old-space-size=4192"
4342

4443
- name: Install dependencies
4544
run: curl https://htmltest.wjdp.uk | bash

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "module",
55
"scripts": {
66
"astro": "npx astro",
7-
"build": "npx astro build",
7+
"build": "NODE_OPTIONS='--max-old-space-size=6192' npx astro build",
88
"typegen:worker": "npx wrangler types ./worker/worker-configuration.d.ts",
99
"check": "npm run check:astro && npm run check:worker",
1010
"check:astro": "npx astro check",

0 commit comments

Comments
 (0)