Skip to content

Commit 5f94fea

Browse files
committed
ci: use github actions
1 parent e4af6e9 commit 5f94fea

File tree

2 files changed

+32
-9
lines changed

2 files changed

+32
-9
lines changed

.github/workflows/ci.yml

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

.travis.yml

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

0 commit comments

Comments
 (0)