Skip to content

Commit 2611e90

Browse files
committed
Add action file and remove travis file
1 parent 2b6109c commit 2611e90

File tree

2 files changed

+32
-16
lines changed

2 files changed

+32
-16
lines changed

.github/workflows/ci-workflow.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Lint and Test
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint:
7+
name: Check lint
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v1
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: '12.x'
14+
- run: npm install
15+
- run: npm run lint
16+
env:
17+
CI: true
18+
test:
19+
name: Run tests on ${{ matrix.os }}
20+
runs-on: ${{ matrix.os }}
21+
strategy:
22+
matrix:
23+
os: [ubuntu-latest, windows-latest, macos-latest]
24+
steps:
25+
- uses: actions/checkout@v1
26+
- uses: actions/setup-node@v1
27+
with:
28+
node-version: '12.x'
29+
- run: npm install
30+
- run: npm test
31+
env:
32+
CI: true

.travis.yml

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

0 commit comments

Comments
 (0)