Skip to content

Commit b4466db

Browse files
committed
chore: remove travis and switch to github actions
1 parent 1c894d5 commit b4466db

File tree

2 files changed

+31
-8
lines changed

2 files changed

+31
-8
lines changed

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
test:
13+
strategy:
14+
matrix:
15+
os:
16+
- ubuntu-latest
17+
node_version:
18+
- 10
19+
- 12
20+
- 14
21+
- 16
22+
name: Running tests with Node ${{ matrix.node_version }} on ${{ matrix.os }}
23+
runs-on: ${{ matrix.os }}
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: actions/setup-node@v2
27+
with:
28+
node-version: ${{ matrix.node_version }}
29+
cache: 'npm'
30+
- run: |
31+
npm run test

.travis.yml

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

0 commit comments

Comments
 (0)