Skip to content

Commit

Permalink
chore: Only run release job on main
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyguerra committed Oct 1, 2023
1 parent 2bf7901 commit f7de536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ jobs:
- run: npm test
release:
needs: [build, test]
if: github.ref == 'refs/heads/main' && success()
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['lts/*']
if: github.ref == 'refs/heads/main' && ${{ success() }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit f7de536

Please sign in to comment.