From 6a364b410747204a9b59d8f7f16415bb8c7b688d Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Tue, 27 Feb 2024 22:18:07 +0200 Subject: [PATCH] Add a gitea workflow --- .gitea/workflows/test.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..b04b338 --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,18 @@ +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 + - name: Check out repository code + uses: actions/checkout@v3 + - name: Install + run: npm install + - name: Run tests + run: npm test