Skip to content

Commit

Permalink
Start GitHub actions only for pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
yunusga committed Apr 22, 2023
1 parent 4f9d0c5 commit 430929d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
name: Node.js CI

on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main", "develop" ]

Expand All @@ -26,5 +24,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install deps
- run: npm ci
- name: Run tests
- run: npm test

0 comments on commit 430929d

Please sign in to comment.