eccrypto/.gitea/workflows/test.yaml

19 lines
472 B
YAML

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 \
xauth xvfb chromium firefox-esr
- name: Check out repository code
uses: actions/checkout@v3
- name: Install
run: npm install
- name: Run tests
run: CHROME_BIN=/usr/bin/chromium npm test