Skip to content

Commit 4ba3eef

Browse files
author
Kai Cataldo
authored
Chore: move to GitHub Actions (#449)
* Chore: move to GitHub Actions * Update ci.yml * Update ci.yml * Update ci.yml * Update ci.yml
1 parent bd0a405 commit 4ba3eef

File tree

2 files changed

+43
-13
lines changed

2 files changed

+43
-13
lines changed

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
jobs:
10+
lint:
11+
name: Lint
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: '12.x'
19+
- name: Install dependencies
20+
run: npm install
21+
- name: Lint files
22+
run: node Makefile.js lint
23+
test:
24+
name: Test
25+
strategy:
26+
matrix:
27+
os: [ubuntu-latest]
28+
node: [14.x, 13.x, 12.x, 10.x, "10.12.0"]
29+
include:
30+
- os: windows-latest
31+
node: "12.x"
32+
- os: macOS-latest
33+
node: "12.x"
34+
runs-on: ${{ matrix.os }}
35+
steps:
36+
- uses: actions/checkout@v2
37+
- uses: actions/setup-node@v1
38+
with:
39+
node-version: ${{ matrix.node }}
40+
- name: Install dependencies
41+
run: npm install
42+
- name: Run tests
43+
run: node Makefile.js test

.travis.yml

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

0 commit comments

Comments
 (0)