2024-02-28 23:33:31 +01:00
|
|
|
name: Testing
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
default:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
apt-get update
|
|
|
|
apt-get install -yq --no-install-suggests --no-install-recommends \
|
2024-02-28 23:51:39 +01:00
|
|
|
xauth xvfb chromium firefox-esr
|
2024-02-28 23:33:31 +01:00
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install
|
|
|
|
run: npm install
|
|
|
|
- name: Run tests
|
2024-02-28 23:51:39 +01:00
|
|
|
run: CHROME_BIN=/usr/bin/chromium npm test
|