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:
hiento09 2023-10-06 16:22:29 +07:00 committed by GitHub
parent d74178c542
commit 8031f3eccf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 2 deletions

View File

@ -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:

View File

@ -28,7 +28,8 @@
"extends": null,
"mac": {
"type": "distribution"
}
},
"artifactName": "${name}-${os}-${arch}-${version}.${ext}"
},
"scripts": {
"lint": "eslint . --ext \".js,.jsx,.ts,.tsx\"",