Skip to content

Commit

Permalink
EXUI-705: Break out the action sctip into build and audit tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Elliott authored and Tom Elliott committed Aug 17, 2023
1 parent 35b3730 commit 18d2582
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/dependency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ on:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
cache: 'yarn'
- run: yarn install --frozen-lockfile

audit:
needs: build
runs-on: ubuntu-latest
steps:
- uses: tibdex/github-app-token@v1
Expand All @@ -22,14 +33,6 @@ jobs:
with:
token: ${{ steps.generate-token.outputs.token }}
ref: master
- uses: actions/setup-node@v3
with:
node-version: 12
node-version-file: ".nvmrc"
- name: Install dependencies
run: yarn install
- name: Print current working directory
run: pwd
- name: Run automated update of known-issue suppression
run: yarn update-audit-known-issues
- name: Commit
Expand Down

0 comments on commit 18d2582

Please sign in to comment.