Skip to content

Commit

Permalink
CI: limit triggers to main and use Node.js 18 for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Apr 8, 2023
1 parent ded7956 commit d79cffc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ name: Tests

on:
push:
branches-ignore:
- "dependabot/**"
branches:
- main
- "!dependabot/**"
pull_request:
workflow_dispatch:

Expand Down Expand Up @@ -41,6 +42,6 @@ jobs:

- name: Run Coveralls
uses: coverallsapp/github-action@v2
if: matrix.node == 12 && startsWith(matrix.os, 'ubuntu')
if: startsWith(matrix.os, 'ubuntu') && matrix.node == 18
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit d79cffc

Please sign in to comment.