Skip to content

Commit f1deb45

Browse files
authored
Create ci-plugin.yml (#203)
* Create ci-plugin.yml * Remove .travis.yml
1 parent cb19c85 commit f1deb45

File tree

2 files changed

+30
-8
lines changed

2 files changed

+30
-8
lines changed

.github/workflows/ci-plugin.yml

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

.travis.yml

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

0 commit comments

Comments
 (0)