diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 6d49a71..4c45b90 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -3,8 +3,15 @@ name: Node.js CI -# Triggers the workflow on push or pull request events -on: [push, pull_request] +on: + # Trigger the workflow on push or pull request, + push: + branches: + # Only on the main branch + - main + pull_request: + # These types of PRs + types: [assigned, opened, synchronize, reopened] jobs: build: