Skip to content

Commit

Permalink
Only run CI on push when pushing to main
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Mar 20, 2024
1 parent f7f47d0 commit 971e147
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
name: CI
on:
- push
- pull_request
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main
jobs:
test:
name: Node.js ${{ matrix.node-version }}
Expand Down

0 comments on commit 971e147

Please sign in to comment.