Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

version 1.0.5

Choose a tag to compare

@amandaxmqiu amandaxmqiu released this 24 Jul 10:17
· 141 commits to main since this release
d374862

Key Fixes Applied
In action.yml:

Script Copying: Copy action scripts to a local .gui-test-review-action/ directory in the user's workspace
Dependency Installation: Create a minimal package.json and install action-specific dependencies (@octokit/core, marked) in the action directory
Dynamic Script Location: Check multiple paths to find scripts (local copy, action path, or user's scripts)
NODE_PATH Setting: For scripts that need modules, set NODE_PATH to include the action's node_modules

In Scripts (generate-webpage.js and summary-comment.js):

Dynamic Module Loading: Try multiple paths to load required modules:

Local node_modules (user's project)
Action's node_modules (.gui-test-review-action/node_modules/)
Parent directory node_modules

Error Handling: Provide clear error messages if modules can't be loaded
Graceful Degradation: Continue execution even if some optional components fail