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 b04ddc3 commit 33e43d8
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 @@ -67,6 +67,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 33e43d8

Please sign in to comment.