Duplicate PATH fix into other workflows

This commit is contained in:
GCHQDeveloper581 2026-05-16 11:13:02 +00:00
parent 37ce0886aa
commit 339bc1d4d9
No known key found for this signature in database
GPG Key ID: 6222E059A3DF595C
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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