Skip to content

Commit

Permalink
Build and Test job for PushToBranch workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
harvey-dvla committed Mar 26, 2024
1 parent 5bfc397 commit b172fd5
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/PushToBranch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit b172fd5

Please sign in to comment.