Skip to content

Commit b0c4aea

Browse files
authored
switch to use github actions (#47)
* setup github action for a module * get rid of hapi here * os is unnecessary * spaces vs / * get rid of travis in favor of github actions * just keep it with a simple name * change to ci
1 parent 3397a6a commit b0c4aea

File tree

2 files changed

+23
-7
lines changed

2 files changed

+23
-7
lines changed

.github/workflows/test.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: ci
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
os: [ubuntu, windows, macos]
11+
node: ['*', '14', '12']
12+
13+
runs-on: ${{ matrix.os }}-latest
14+
name: ${{ matrix.os }} node@${{ matrix.node }}
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node }}
20+
- name: install
21+
run: npm install
22+
- name: test
23+
run: npm test

.travis.yml

-7
This file was deleted.

0 commit comments

Comments
 (0)