Skip to content

Commit

Permalink
Update GitHub Actions workflow to add node_modules/.bin to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Thavarshan committed Aug 17, 2024
1 parent 117b229 commit b8722b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- name: Install dependencies
run: npm install

- name: Add node_modules/.bin to PATH
run: echo "::add-path::$(npm bin)"

- name: Build and Package the app
run: npm run package

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"build:win": "npm_config_platform=win32 npm_config_arch=x64 npm install && electron-builder build --win",
"package": "electron-forge package",
"make": "electron-forge make",
"publish": "electron-forge publish",
"publish": "npx electron-forge publish --prerelease",
"dev": "electron-forge start",
"lint": "eslint --ext .ts,.tsx ."
},
Expand Down

0 comments on commit b8722b2

Please sign in to comment.