From 57896ee1fb7092861cc0a358036e3d8038bb3e11 Mon Sep 17 00:00:00 2001 From: OhYee Date: Fri, 6 Feb 2026 09:57:48 +0800 Subject: [PATCH] build(deps): update tsup from 8.3.0 to 8.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update tsup dependency to version 8.5.1 to get latest features and improvements. 升级 tsup 依赖到 8.5.1 版本以获取最新功能和改进。 Change-Id: I5e660e37eee0e8b6b5177eb81b5b08ee3910cb48 Signed-off-by: OhYee --- .github/workflows/ci.yml | 2 +- .github/workflows/publish.yaml | 8 ++++---- package.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) 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"