David Luzar 5bd1c8b3cd
update events for GH actions to include PRs (#511)
* update events for GH actions to include PRs

* change action events to pull_request only
2020-01-22 14:18:31 +01:00

23 lines
359 B
YAML

name: Node CI
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install and lint
run: |
npm ci
npm run test:code
env:
CI: true