Skip to content

Commit

Permalink
chore(ci): only run release job on pushes, not PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Feb 26, 2022
1 parent 4e34d8f commit 367d5b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ jobs:
env:
CI: true
release:
if:
# prettier-ignore
${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/next') }}
needs:
- test-node
- test-os
Expand Down

0 comments on commit 367d5b0

Please sign in to comment.