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
7
.github/workflows/linter-and-test.yml
vendored
7
.github/workflows/linter-and-test.yml
vendored
@ -78,11 +78,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Linter and test
|
- name: Linter and test
|
||||||
run: |
|
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 config set network-timeout 300000
|
||||||
yarn install
|
yarn install
|
||||||
yarn lint
|
yarn lint
|
||||||
yarn build:plugins
|
yarn build:plugins
|
||||||
yarn build:linux
|
yarn build:linux
|
||||||
yarn test
|
yarn test
|
||||||
env:
|
|
||||||
DISPLAY: ":0"
|
|
||||||
@ -34,7 +34,7 @@
|
|||||||
"teamId": "YT49P7GXG4"
|
"teamId": "YT49P7GXG4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"artifactName": "${name}-${os}-${arch}-${version}.${ext}"
|
"artifactName": "jan-${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