From b172fd5d70387948202fda1d7ab459c550530eea Mon Sep 17 00:00:00 2001 From: harvey-dvla <162578903+harvey-dvla@users.noreply.github.com> Date: Tue, 26 Mar 2024 14:26:32 +0000 Subject: [PATCH] Build and Test job for PushToBranch workflow --- .github/workflows/PushToBranch.yml | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/workflows/PushToBranch.yml b/.github/workflows/PushToBranch.yml index d70cc73..820e0da 100644 --- a/.github/workflows/PushToBranch.yml +++ b/.github/workflows/PushToBranch.yml @@ -5,7 +5,7 @@ run-name: ${{github.actor}} Pushed To ${{github.ref_name}} on: [push] jobs: - prepare: + BuildAndTest: runs-on: ubuntu-latest steps: - name: Check out repository @@ -24,20 +24,11 @@ jobs: - name: Install Dependencies run: npm ci - audit: - runs-on: ubuntu-latest - needs: prepare - steps: - - run: npm run audit --audit-level=moderate + - name: Audit + run: npm run audit --audit-level=moderate - lint: - runs-on: ubuntu-latest - needs: prepare - steps: - - run: npm run lint + - name: Lint + run: npm run lint - test: - runs-on: ubuntu-latest - needs: prepare - steps: - - run: npm run test + - name: Test + run: npm run test