Skip to content

Commit aed2283

Browse files
committed
build: setup GitHub CI
1 parent 1c2ffd2 commit aed2283

File tree

5 files changed

+36
-1198
lines changed

5 files changed

+36
-1198
lines changed

.github/workflows/CI.yaml

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

.gitignore

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
.DS_Store
2-
node_modules
3-
coverage
1+
/.DS_Store
2+
/node_modules
3+
/coverage
4+
/package-lock.json

.travis.yml

-5
This file was deleted.

0 commit comments

Comments
 (0)