Duplicate PATH fix into other workflows
This commit is contained in:
parent
37ce0886aa
commit
339bc1d4d9
2
.github/workflows/master.yml
vendored
2
.github/workflows/master.yml
vendored
@ -45,6 +45,7 @@ jobs:
|
||||
run: npx grunt exec:sitemap
|
||||
|
||||
- name: Setup Chrome
|
||||
id: setup-chrome
|
||||
if: success()
|
||||
uses: browser-actions/setup-chrome@2e1d749697dd1612b833dba4a722266286fbefcd # v2.1.2
|
||||
with:
|
||||
@ -53,6 +54,7 @@ jobs:
|
||||
- name: UI Tests
|
||||
if: success()
|
||||
run: |
|
||||
export PATH=`dirname ${{ steps.setup-chrome.outputs.chrome-path }}`:$PATH
|
||||
sudo apt-get install xvfb
|
||||
xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
||||
|
||||
|
||||
3
.github/workflows/releases.yml
vendored
3
.github/workflows/releases.yml
vendored
@ -47,13 +47,16 @@ jobs:
|
||||
run: npx grunt prod
|
||||
|
||||
- name: Setup Chrome
|
||||
id: setup-chrome
|
||||
if: success()
|
||||
uses: browser-actions/setup-chrome@2e1d749697dd1612b833dba4a722266286fbefcd # v2.1.2
|
||||
with:
|
||||
chrome-version: 148
|
||||
|
||||
- name: UI Tests
|
||||
if: success()
|
||||
run: |
|
||||
export PATH=`dirname ${{ steps.setup-chrome.outputs.chrome-path }}`:$PATH
|
||||
sudo apt-get install xvfb
|
||||
xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user