Skip to content

Commit

Permalink
build: Move CI to GitHub Actions (#1354)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Feb 4, 2020
1 parent 5f2f62b commit 2ac09c7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 15 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Test"
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: "Test"
runs-on: ubuntu-latest
strategy:
matrix:
node_version: ["4", "4.3.2", "6", "8", "10", "12"]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- name: "Install dependencies"
run: npm install
- name: "Run tests"
run: npm test
bench:
name: "Bench"
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: "12"
- name: "Install dependencies"
run: npm install
- name: "Run benchmark"
run: npm run bench
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

0 comments on commit 2ac09c7

Please sign in to comment.