Install browsers and set CHROME_BIN in the gitea workflow
This commit is contained in:
parent
84205c5d9f
commit
35c8a71c10
|
@ -9,10 +9,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -yq --no-install-suggests --no-install-recommends \
|
apt-get install -yq --no-install-suggests --no-install-recommends \
|
||||||
xauth xvfb
|
xauth xvfb chromium firefox-esr
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install
|
- name: Install
|
||||||
run: npm install
|
run: npm install
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm test
|
run: CHROME_BIN=/usr/bin/chromium npm test
|
||||||
|
|
Loading…
Reference in New Issue
Block a user