Skip to content

Commit

Permalink
chore: move CI to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Oct 1, 2020
1 parent 001bf22 commit c605b77
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Node.js CI

on:
push:
branches: master
pull_request:

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 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 }}
- name: npm install and test
run: |
npm install
npm run test
- name: verify that the the build works
run: |
npm run build
node dist/ml.js
node dist/ml.min.js
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

0 comments on commit c605b77

Please sign in to comment.