Fix CI Test run failed on ubuntu and change release file app name (#307)

Co-authored-by: Hien To <>
This commit is contained in:
hiento09 2023-10-09 10:36:48 +07:00 committed by GitHub
parent 0cdff4f06b
commit 5afae2172d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -78,11 +78,12 @@ jobs:
- name: Linter and test
run: |
w_output=$(w)
export DISPLAY=$(echo "$w_output" | awk '$3 ~ /:[0-9]+/ {print $3}')
echo -e "Display ID: $DISPLAY"
yarn config set network-timeout 300000
yarn install
yarn lint
yarn build:plugins
yarn build:linux
yarn test
env:
DISPLAY: ":0"

View File

@ -34,7 +34,7 @@
"teamId": "YT49P7GXG4"
}
},
"artifactName": "${name}-${os}-${arch}-${version}.${ext}"
"artifactName": "jan-${os}-${arch}-${version}.${ext}"
},
"scripts": {
"lint": "eslint . --ext \".js,.jsx,.ts,.tsx\"",