add electron artifactName (#289)
* add electron artifactName * update path trigger for linter-and-test CI --------- Co-authored-by: Hien To <tominhhien97@gmail.com>
This commit is contained in:
parent
d74178c542
commit
8031f3eccf
16
.github/workflows/linter-and-test.yml
vendored
16
.github/workflows/linter-and-test.yml
vendored
@ -3,10 +3,24 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- fix/eslint-ignore-patterns
|
paths:
|
||||||
|
- 'electron/**'
|
||||||
|
- .github/workflows/linter-and-test.yml
|
||||||
|
- 'web/**'
|
||||||
|
- 'package.json'
|
||||||
|
- 'node_modules/**'
|
||||||
|
- 'yarn.lock'
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
paths:
|
||||||
|
- 'electron/**'
|
||||||
|
- .github/workflows/linter-and-test.yml
|
||||||
|
- 'web/**'
|
||||||
|
- 'package.json'
|
||||||
|
- 'node_modules/**'
|
||||||
|
- 'yarn.lock'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-on-macos:
|
test-on-macos:
|
||||||
|
|||||||
@ -28,7 +28,8 @@
|
|||||||
"extends": null,
|
"extends": null,
|
||||||
"mac": {
|
"mac": {
|
||||||
"type": "distribution"
|
"type": "distribution"
|
||||||
}
|
},
|
||||||
|
"artifactName": "${name}-${os}-${arch}-${version}.${ext}"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint . --ext \".js,.jsx,.ts,.tsx\"",
|
"lint": "eslint . --ext \".js,.jsx,.ts,.tsx\"",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user