From 1376bd01e29f6bcf911f86a2b17a5cb85b2844ec Mon Sep 17 00:00:00 2001 From: Brett Date: Fri, 22 Dec 2023 13:37:53 +1100 Subject: [PATCH] ci: rename job from build to test-lint-audit and add as dependency to release job --- .github/workflows/release-on-push-to-mainline.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-on-push-to-mainline.yml b/.github/workflows/release-on-push-to-mainline.yml index 32bc093f..60a7ce3c 100644 --- a/.github/workflows/release-on-push-to-mainline.yml +++ b/.github/workflows/release-on-push-to-mainline.yml @@ -6,7 +6,7 @@ on: env: HUSKY: 0 jobs: - build: + test-lint-audit: runs-on: ubuntu-latest strategy: matrix: @@ -46,6 +46,7 @@ jobs: run: npm audit --audit-level critical release: if: github.event_name == 'push' && github.ref == 'refs/heads/mainline' + needs: test-lint-audit permissions: contents: write issues: write