Install browsers and set CHROME_BIN in the gitea workflow

This commit is contained in:
Lee Miller 2024-02-29 00:51:39 +02:00
parent 84205c5d9f
commit 35c8a71c10
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
1 changed files with 2 additions and 2 deletions

View File

@ -9,10 +9,10 @@ jobs:
run: |
apt-get update
apt-get install -yq --no-install-suggests --no-install-recommends \
xauth xvfb
xauth xvfb chromium firefox-esr
- name: Check out repository code
uses: actions/checkout@v3
- name: Install
run: npm install
- name: Run tests
run: npm test
run: CHROME_BIN=/usr/bin/chromium npm test