Fix CI Test run failed on ubuntu and change release file app name (#307)
Co-authored-by: Hien To <>
This commit is contained in:
parent
0cdff4f06b
commit
5afae2172d
5
.github/workflows/linter-and-test.yml
vendored
5
.github/workflows/linter-and-test.yml
vendored
@ -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"
|
||||
@ -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\"",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user