Skip to content

Commit

Permalink
chore(root): add relation between steps
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoazh committed Jan 3, 2025
1 parent aa3c468 commit 17a807f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
build:
name: Build Project
runs-on: macos-latest
needs: [cache-and-install]

steps:
- uses: actions/checkout@v4
Expand All @@ -50,6 +51,7 @@ jobs:
test:
name: Build project
runs-on: ${{ matrix.os }}
needs: [cache-and-install, build]

strategy:
matrix:
Expand Down Expand Up @@ -77,7 +79,7 @@ jobs:
publish:
name: NPM publish
runs-on: macos-latest
needs: [build]
needs: [cache-and-install, build, test]
if: ${{ github.ref == 'refs/heads/master'}}

steps:
Expand Down

0 comments on commit 17a807f

Please sign in to comment.