Skip to content

Commit

Permalink
add electron artifactName (#289)
Browse files Browse the repository at this point in the history
* add electron artifactName

* update path trigger for linter-and-test CI

---------

Co-authored-by: Hien To <[email protected]>
  • Loading branch information
hiento09 and hiento09 authored Oct 6, 2023
1 parent d74178c commit 8031f3e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/linter-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,24 @@ on:
push:
branches:
- main
- fix/eslint-ignore-patterns
paths:
- 'electron/**'
- .github/workflows/linter-and-test.yml
- 'web/**'
- 'package.json'
- 'node_modules/**'
- 'yarn.lock'

pull_request:
branches:
- main
paths:
- 'electron/**'
- .github/workflows/linter-and-test.yml
- 'web/**'
- 'package.json'
- 'node_modules/**'
- 'yarn.lock'

jobs:
test-on-macos:
Expand Down
3 changes: 2 additions & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"extends": null,
"mac": {
"type": "distribution"
}
},
"artifactName": "${name}-${os}-${arch}-${version}.${ext}"
},
"scripts": {
"lint": "eslint . --ext \".js,.jsx,.ts,.tsx\"",
Expand Down

0 comments on commit 8031f3e

Please sign in to comment.