From 266fa98c1b26432942cbe535a5509337e84efae6 Mon Sep 17 00:00:00 2001 From: Christian Bager Bach Houmann <christian@bagerbach.com> Date: Mon, 14 Nov 2022 12:13:39 +0100 Subject: [PATCH] add test workflow to run on push --- .github/workflows/test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..7a5f5c5 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: Test +on: push + +jobs: + test: + name: Test + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Setup Deno + uses: denolib/setup-deno@v2 + with: + deno-version: v1.x + - name: Install dependencies + run: | + npm ci + npm run build --if-present + - name: Run tests + run: | + npm run test \ No newline at end of file -- GitLab