From 84205c5d9f85ac58f3f8afd76c3cb17be6521339 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Thu, 29 Feb 2024 00:33:31 +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