diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ae986f..7241c52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: run: make coverage - name: Build - run: npm run build + run: NODE_OPTIONS=--max-old-space-size=4096 npm run build coverage: runs-on: ubuntu-latest diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 09b1d01..c508120 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -141,7 +141,7 @@ jobs: npm install - name: Build - run: npm run build + run: NODE_OPTIONS=--max-old-space-size=4096 npm run build - name: Publish test package (Trusted Publishers - no token needed) run: | @@ -290,7 +290,7 @@ jobs: npm install - name: Build - run: npm run build + run: NODE_OPTIONS=--max-old-space-size=4096 npm run build - name: Publish to npm (Trusted Publishers - no token needed) run: | @@ -394,7 +394,7 @@ jobs: npm install - name: Build - run: npm run build + run: NODE_OPTIONS=--max-old-space-size=4096 npm run build - name: Publish test package (Trusted Publishers - no token needed) run: | @@ -408,7 +408,7 @@ jobs: rm -f /home/runner/work/_temp/.npmrc # Publish using Trusted Publishers (OIDC) - npm publish --tag test --access public --provenance + NODE_OPTIONS=--max-old-space-size=4096 npm publish --tag test --access public --provenance env: # Clear the environment variables that might interfere with OIDC NPM_CONFIG_USERCONFIG: '' diff --git a/package.json b/package.json index 5f212ff..37723be 100644 --- a/package.json +++ b/package.json @@ -143,7 +143,7 @@ "playwright": "^1.57.0", "prettier": "^3.8.1", "ts-jest": "^29.2.0", - "tsup": "^8.3.0", + "tsup": "^8.5.1", "tsx": "^4.19.0", "typescript": "^5.4.0", "yaml": "^2.7.0"