Skip to content

Commit 8049b7f

Browse files
committed
chore: switch from travis to github actions for ci
1 parent f89b6fb commit 8049b7f

File tree

2 files changed

+35
-5
lines changed

2 files changed

+35
-5
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
strategy:
6+
fail-fast: false
7+
matrix:
8+
node-version: ['10.1', 10.x, '12.1', 12.x, '14.1', 14.x]
9+
platform:
10+
- os: ubuntu-latest
11+
shell: bash
12+
- os: macos-latest
13+
shell: bash
14+
- os: windows-latest
15+
shell: bash
16+
- os: windows-latest
17+
shell: powershell
18+
19+
runs-on: ${{ matrix.platform.os }}
20+
defaults:
21+
run:
22+
shell: ${{ matrix.platform.shell }}
23+
24+
steps:
25+
- uses: actions/checkout@v2
26+
- name: Use Node.js ${{ matrix.node-version }}
27+
uses: actions/setup-node@v2
28+
with:
29+
node-version: ${{ matrix.node-version }}
30+
- name: Update npm
31+
run: npm i -g npm
32+
- name: Install dependencies
33+
run: npm ci
34+
- name: Run Tap tests
35+
run: npm test

.travis.yml

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

0 commit comments

Comments
 (0)