Skip to content

Commit

Permalink
ci: rename job from build to test-lint-audit and add as dependency to…
Browse files Browse the repository at this point in the history
… release job
  • Loading branch information
brettstack committed Dec 22, 2023
1 parent 812499e commit 1376bd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-on-push-to-mainline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
env:
HUSKY: 0
jobs:
build:
test-lint-audit:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1376bd0

Please sign in to comment.