Skip to content

Commit 6c52fa6

Browse files
authored
Add GitHub Actions workflows (#169)
* test: add github workflows * test: remove Travis config file
1 parent d786eb5 commit 6c52fa6

File tree

2 files changed

+29
-15
lines changed

2 files changed

+29
-15
lines changed

.github/workflows/ci-workflow.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Node.js CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-18.04
9+
10+
strategy:
11+
matrix:
12+
node-version: [10.x, 12.x, 14.x]
13+
14+
steps:
15+
- uses: actions/setup-go@v2
16+
with:
17+
go-version: '1.14'
18+
19+
- uses: actions/checkout@v2
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v1
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
- run: npm install
25+
- run: npm run build --if-present
26+
- run: npm test
27+
- run: npm run test-conformance
28+
env:
29+
CI: true

.travis.yml

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

0 commit comments

Comments
 (0)