Skip to content

Commit

Permalink
feat(ci): remove need to compile scripts (#5370)
Browse files Browse the repository at this point in the history
* feat(ci): remove need to compile scripts

* fix index script

* remove outdated script

* bring back some of it

* keep scripts command to get passing pipeline

* remove command anyway
  • Loading branch information
christian-bromann authored May 28, 2024
1 parent 9e823d6 commit a40cee1
Show file tree
Hide file tree
Showing 6 changed files with 2,114 additions and 2,846 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/tech-debt-burndown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,19 +124,16 @@ jobs:
with:
name: unused-exports-pr

- name: Compile scripts
run: npm run tsc.scripts

- name: Set action output
run: node scripts/build/tech-debt-burndown-report.js > $GITHUB_STEP_SUMMARY
run: npx tsx scripts/tech-debt-burndown-report.ts > $GITHUB_STEP_SUMMARY

# for syntax information, see https://github.com/peter-evans/create-or-update-comment#setting-the-comment-body-from-a-file
- name: Set comment body
id: set-comment-body
# GitHub - "Warning: Make sure the delimiter you're using is randomly generated and unique for each run.
# For more information, see https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#understanding-the-risk-of-script-injections"
run: |
body=$(node scripts/build/tech-debt-burndown-report.js)
body=$(npx scripts/tech-debt-burndown-report.ts)
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
echo "body<<$EOF" >> $GITHUB_OUTPUT
echo "$body" >> $GITHUB_OUTPUT
Expand Down
Loading

0 comments on commit a40cee1

Please sign in to comment.