Skip to content

Commit

Permalink
fix(impact report): add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
chiefmikey committed Jan 16, 2025
1 parent ae81549 commit ce7f519
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/impact-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,15 @@ jobs:
run: ls -l test-package/node_modules/${{ github.event.inputs.package_name }}

- name: Run depsweep
working-directory: test-package
run: |
cd test-package
node ../dist/index.js --measure-impact node_modules/${{ github.event.inputs.package_name }} > ../output.txt
pwd
ls -la
ls -la ../dist
node ../dist/index.js --measure-impact "node_modules/${{ github.event.inputs.package_name }}" > ../output.txt || {
echo "Error running depsweep"
exit 1
}
echo '```' >> ../$GITHUB_STEP_SUMMARY
cat ../output.txt >> ../$GITHUB_STEP_SUMMARY
echo '```' >> ../$GITHUB_STEP_SUMMARY

0 comments on commit ce7f519

Please sign in to comment.