Skip to content

Commit

Permalink
Only run release on main (#17)
Browse files Browse the repository at this point in the history
* feat: Remove unnecessary files in package

* update readme

* chore: Only run release on main
  • Loading branch information
joeyguerra authored Oct 1, 2023
1 parent 14bf2f1 commit 44ee4e2
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 44ee4e2

Please sign in to comment.