Skip to content

Commit 4a548b7

Browse files
committedJan 16, 2021
chore: switch CI to github actions
1 parent c8a8356 commit 4a548b7

File tree

2 files changed

+26
-6
lines changed

2 files changed

+26
-6
lines changed
 

‎.github/workflows/ci.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Node.js CI
2+
3+
on:
4+
push:
5+
branches: [ $default-branch ]
6+
pull_request:
7+
branches: [ $default-branch ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version: [8.x, 10.x, 12.x, 14.x]
17+
18+
steps:
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 ci
25+
- run: npm run build --if-present
26+
- run: npm test

‎.travis.yml

-6
This file was deleted.

0 commit comments

Comments
 (0)