Update test.yml

This commit is contained in:
Bret 2020-12-28 15:34:38 -07:00 committed by GitHub
parent 6a1edb8f7c
commit e95b2b3a31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
name: tests
on: [push]
on: [push, pull_request]
jobs:
test:
@ -21,5 +21,12 @@ jobs:
run: |
npm i
npm test
env:
CI: true
automerge:
needs: test
runs-on: ubuntu-latest
steps:
- uses: fastify/github-action-merge-dependabot@v1.1.1
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' && contains(github.head_ref, 'dependabot/github_actions') }}
with:
github-token: ${{secrets.github_token}}