Skip to content

Commit

Permalink
Add GitHub actioni to run tests on PR (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
JMPerez committed Aug 3, 2020
1 parent 1487329 commit 8f6faee
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Node.js CI

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

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install dependencies
run: npm install
- name: Build
run: npm test
env:
CI: true

0 comments on commit 8f6faee

Please sign in to comment.