From 4506a1d60bfa469630666b32aeddeee4b57dc8d8 Mon Sep 17 00:00:00 2001 From: Felix Wagner Date: Tue, 19 Nov 2024 09:55:42 +0100 Subject: [PATCH] split in two jobs --- .github/workflows/test.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1990c7b..7d7546d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,7 @@ name: Test Nxtstart Creation 👷 on: push jobs: - build: + npm: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ @@ -16,4 +16,18 @@ jobs: - run: npm install - run: npm install -g - run: npm run testNpm + yarn: + runs-on: ubuntu-latest + steps: + - name: Checkout 🛎️ + uses: actions/checkout@v4 + - name: Setup Node.js 🔧 + uses: actions/setup-node@v4 + with: + node-version: 20 + registry-url: 'https://registry.npmjs.org' + # needed to avoid npm authentication problems in github action runner when trying to npm install + - run: rm package-lock.json + - run: npm install + - run: npm install -g - run: npm run testYarn \ No newline at end of file