Fix CI test run failed on ubuntu
This commit is contained in:
parent
cc2f5cbc08
commit
da7dee3de7
3
.github/workflows/linter-and-test.yml
vendored
3
.github/workflows/linter-and-test.yml
vendored
@ -78,8 +78,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Linter and test
|
- name: Linter and test
|
||||||
run: |
|
run: |
|
||||||
w_output=$(w)
|
export DISPLAY=$(w -h | awk 'NR==1 {print $2}')
|
||||||
export DISPLAY=$(echo "$w_output" | awk '$3 ~ /:[0-9]+/ {print $3}')
|
|
||||||
echo -e "Display ID: $DISPLAY"
|
echo -e "Display ID: $DISPLAY"
|
||||||
yarn config set network-timeout 300000
|
yarn config set network-timeout 300000
|
||||||
yarn install
|
yarn install
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user