Skip to content

Commit 9e761dc

Browse files
committed
Switch CI to GitHub Actions
1 parent d5c6b86 commit 9e761dc

2 files changed

Lines changed: 31 additions & 16 deletions

File tree

.github/workflows/ci.yml

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

.travis.yml

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

0 commit comments

Comments
 (0)