@@ -248,6 +248,8 @@ runs:
248248 - name : ESLint / Prettier
249249 if : steps.modes.outputs.lint == 'true'
250250 shell : bash
251+ env :
252+ NODE_PATH : ${{ github.workspace }}/node_modules
251253 run : |
252254 ACTION_PATH="${{ github.action_path }}"
253255 if [ -f "$ACTION_PATH/scripts/lint.js" ]; then
@@ -383,6 +385,8 @@ runs:
383385 - name : Flow-chart
384386 if : steps.modes.outputs.dashboard == 'true'
385387 shell : bash
388+ env :
389+ NODE_PATH : ${{ github.workspace }}/node_modules
386390 run : |
387391 ACTION_PATH="${{ github.action_path }}"
388392 [ -f "$ACTION_PATH/scripts/generate-flowchart.js" ] && node "$ACTION_PATH/scripts/generate-flowchart.js"
@@ -392,6 +396,8 @@ runs:
392396 - id : checklist
393397 if : steps.modes.outputs.dashboard == 'true'
394398 shell : bash
399+ env :
400+ NODE_PATH : ${{ github.workspace }}/node_modules
395401 run : |
396402 ACTION_PATH="${{ github.action_path }}"
397403 if [ -f "$ACTION_PATH/scripts/checklist.js" ]; then
@@ -406,6 +412,8 @@ runs:
406412 name : Build dashboard HTML
407413 if : steps.modes.outputs.dashboard == 'true'
408414 shell : bash
415+ env :
416+ NODE_PATH : ${{ github.workspace }}/node_modules
409417 run : |
410418 ACTION_PATH="${{ github.action_path }}"
411419 [ -f "$ACTION_PATH/scripts/generate-webpage.js" ] && node "$ACTION_PATH/scripts/generate-webpage.js"
@@ -435,6 +443,7 @@ runs:
435443 env :
436444 GITHUB_TOKEN : ${{ inputs.github-token }}
437445 WEB_REPORT_URL : ${{ inputs.web-report-url || steps.deploy-report.outputs.page_url }}
446+ NODE_PATH : ${{ github.workspace }}/node_modules
438447 run : |
439448 ACTION_PATH="${{ github.action_path }}"
440449 [ -f "$ACTION_PATH/scripts/summary-comment.js" ] && node "$ACTION_PATH/scripts/summary-comment.js"
0 commit comments