Skip to content

Commit aef8c1e

Browse files
authored
Merge pull request #210 from BrasilAPI/ci/move-to-github-actions
Add Github Actions
2 parents e8eda61 + 218d1b1 commit aef8c1e

File tree

2 files changed

+25
-14
lines changed

2 files changed

+25
-14
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Continuous Integration
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
node: [ '10', '11', '12', '13', '14' ]
12+
name: Node ${{ matrix.node }} sample
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Setup node
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: ${{ matrix.node }}
19+
- run: npm install
20+
- run: npm test
21+
22+
- name: Coveralls
23+
uses: coverallsapp/github-action@master
24+
with:
25+
github-token: ${{ secrets.GITHUB_TOKEN }}

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)