Skip to content

Commit

Permalink
Add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
hcodes committed Jan 11, 2021
1 parent 52712df commit 1ba9ccd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Node CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [15.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci
npm run build
npm test
env:
CI: true
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

0 comments on commit 1ba9ccd

Please sign in to comment.