From bddf96a748a3fb8b8bf732592ba5286d7bce0eb3 Mon Sep 17 00:00:00 2001 From: Rune Harlyk <36825685+runeharlyk@users.noreply.github.com> Date: Fri, 23 Feb 2024 14:02:13 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9B=BD=20Create=20app-unit-test.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/app-unit-test.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/app-unit-test.yml diff --git a/.github/workflows/app-unit-test.yml b/.github/workflows/app-unit-test.yml new file mode 100644 index 0000000..24d5351 --- /dev/null +++ b/.github/workflows/app-unit-test.yml @@ -0,0 +1,28 @@ +name: CI + +# This workflow is triggered on pushes and pull requests to the main branch. +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '16' + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install + + - name: Run tests + run: pnpm test