Skip to content

Commit

Permalink
fix: bin name
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47 committed Sep 23, 2024
1 parent 776f4b1 commit a1ecccf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: npm i --omit=dev

- name: Generate report.txt
run: npm start >> report.txt
run: ./cli.js >> report.txt
env:
HARVEST_ACCESS_TOKEN: ${{ secrets.HARVEST_ACCESS_TOKEN }}
HARVEST_ACCOUNT_ID: ${{ secrets.HARVEST_ACCOUNT_ID }}
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"name": "hvst-cli",
"version": "0.1.0",
"version": "0.1.1",
"description": "Generate a weekly Harvest report",
"license": "AGPL-3.0",
"type": "module",
"engines": {
"node": ">=18"
},
"bin": "./cli.js",
"bin": {
"hvst": "cli.js"
},
"scripts": {
"husky": "husky",
"start": "node cli.js",
Expand Down

0 comments on commit a1ecccf

Please sign in to comment.