Skip to content

Commit eed6c16

Browse files
committed
Replace travis with actions
1 parent ffccfda commit eed6c16

File tree

2 files changed

+27
-61
lines changed

2 files changed

+27
-61
lines changed

.github/workflows/test.yml

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

.travis.yml

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

0 commit comments

Comments
 (0)