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:
|
||||
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:
|
||||
|
||||
@ -28,7 +28,8 @@
|
||||
"extends": null,
|
||||
"mac": {
|
||||
"type": "distribution"
|
||||
}
|
||||
},
|
||||
"artifactName": "${name}-${os}-${arch}-${version}.${ext}"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint . --ext \".js,.jsx,.ts,.tsx\"",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user