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 0be6d6d commit cdc6759
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 cdc6759

Please sign in to comment.