From 4b14bc9a0d45203152c1622c8560e098dd72f4b8 Mon Sep 17 00:00:00 2001 From: Dusan Vuckovic Date: Thu, 4 Apr 2024 21:51:00 +0100 Subject: [PATCH] chore: Add test workflow. --- .github/workflows/test.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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..253568b --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,32 @@ +name: test + +# Controls when the action will run. +# Triggers the workflow on all pushes, except on tag creation. +on: + push: + branches: + - '**' + tags-ignore: + - '**' + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout 🛎️ + uses: actions/checkout@v4 + + - name: Setup 🔧 + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: yarn + + - name: Install 📦 + run: yarn install + + - name: Test ✅ + run: yarn coverage + + - name: Build ⚙️ + run: yarn build