Skip to content

Commit abb99b7

Browse files
committed
Add GitHub actions CI.
1 parent a884683 commit abb99b7

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)