Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fwuensche committed Sep 9, 2024
1 parent 7f04a8d commit 63d8b34
Show file tree
Hide file tree
Showing 4 changed files with 1,172 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cherry_diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
- name: Raise if new JavaScript code is added
# This command will fail if the number of lines of code in JavaScript files has increased
# in the current branch compared to the base branch, encouraging developers to contribute to migrating to TS.
run: ./bin/cherry.js diff --metric='TODO' --error-if-increase --quiet
run: npm run cherry diff --metric='TODO' --error-if-increase --quiet
2 changes: 1 addition & 1 deletion .github/workflows/cherry_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
run: npm install

- name: Push metrics
run: ./bin/cherry.js push --quiet --api-key=${{ secrets.CHERRY_API_KEY }}
run: npm run cherry push --quiet --api-key=${{ secrets.CHERRY_API_KEY }}
Loading

0 comments on commit 63d8b34

Please sign in to comment.