5bd1c8b3cd
* update events for GH actions to include PRs * change action events to pull_request only
23 lines
358 B
YAML
23 lines
358 B
YAML
name: Node CI
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
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 test
|
|
run: |
|
|
npm ci
|
|
npm run test:app
|
|
env:
|
|
CI: true
|