Skip to content

Commit

Permalink
Add test workflow (#10)
Browse files Browse the repository at this point in the history
* Add test workflow

* Add a status badge to README
  • Loading branch information
necojackarc authored Aug 27, 2020
1 parent 220703f commit feaa80a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test

on:
push:
branches: [master]
pull_request:
branches: ['**']

jobs:
test:
name: Run linter and tests
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
- run: npm test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Request Review Based on Files

![Test](https://github.com/necojackarc/request-review-based-on-files/workflows/Test/badge.svg)

GitHub Action that automatically requests review of a pull request based on files changed

## Motivation
Expand Down

0 comments on commit feaa80a

Please sign in to comment.