You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm warn exec The following package was not found and will be installed: ctrf@0.0.10
Merging CTRF reports...
Found file: chromium
Found file: results-74ed3e1d-b50a-4455-8ccb-462ec15619e1.json
Found file: results-bc4367a5-6369-469a-aa87-d33c19e4cd3d.json
Found file: results-e1eb8a74-973c-4c9e-8a28-012b911834a6.json
Found file: results-f24cf585-0ee3-4145-99b8-70617de23c03.json
Skipping non-CTRF file: chromium
Merging report: results-74ed3e1d-b50a-4455-8ccb-462ec15619e1.json
Merging report: results-bc4367a5-6369-469a-aa87-d33c19e4cd3d.json
Merging report: results-e1eb8a74-973c-4c9e-8a28-012b911834a6.json
Merging report: results-f24cf585-0ee3-4145-99b8-70617de23c03.json
CTRF reports merged successfully.
Merged report saved to: /home/runner/work/myrepo/reports/merged-report.json
npm warn exec The following package was not found and will be installed: github-actions-ctrf@0.0.50
/root/.npm/_npx/4b5f679370b5c525/node_modules/@actions/core/lib/summary.js:35
throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);
^
Error: Unable to find environment variable for $GITHUB_STEP_SUMMARY. Check if your runtime environment supports job summaries.
at Summary.<anonymous> (/root/.npm/_npx/4b5f679370b5c525/node_modules/@actions/core/lib/summary.js:35:23)
at Generator.next (<anonymous>)
at /root/.npm/_npx/4b5f679370b5c525/node_modules/@actions/core/lib/summary.js:8:71
at new Promise (<anonymous>)
at __awaiter (/root/.npm/_npx/4b5f679370b5c525/node_modules/@actions/core/lib/summary.js:4:12)
at Summary.filePath (/root/.npm/_npx/4b5f679370b5c525/node_modules/@actions/core/lib/summary.js:29:16)
at Summary.<anonymous> (/root/.npm/_npx/4b5f679370b5c525/node_modules/@actions/core/lib/summary.js:75:41)
at Generator.next (<anonymous>)
at /root/.npm/_npx/4b5f679370b5c525/node_modules/@actions/core/lib/summary.js:8:71
at new Promise (<anonymous>)
Node.js v18.20.5
The text was updated successfully, but these errors were encountered:
In a GitHub Action, the GITHUB_STEP_SUMMARY environment variable is automatically set by the GitHub runner and should be available. However, if your script is running outside of a GitHub Actions runner (e.g., locally or in a custom environment), this variable won’t be set.
If you’re using GitHub Enterprise, I believe job summaries are supported starting from version 3.6.
If neither of these cases applies, consider echoing the value of $GITHUB_STEP_SUMMARY to verify if it’s set, or explicitly set it to an empty value just before running the CTRF reporter.
I have the following job in a workflow:
When the job executes I see the following output:
The text was updated successfully, but these errors were encountered: