From 18d25822a3e5bb26b9f73e5fb499c2311d1c1889 Mon Sep 17 00:00:00 2001 From: Tom Elliott Date: Thu, 17 Aug 2023 12:45:17 +0100 Subject: [PATCH] EXUI-705: Break out the action sctip into build and audit tasks --- .github/workflows/dependency-check.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dependency-check.yml b/.github/workflows/dependency-check.yml index e0b945f396..e15578ab0a 100644 --- a/.github/workflows/dependency-check.yml +++ b/.github/workflows/dependency-check.yml @@ -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 @@ -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