Skip to content

Commit 47c54d9

Browse files
DanielRuftypicode
authored andcommitted
Fix CI setup (#1046)
* Add missing NodeJS versions * Add GitHub Actions setup * Use latest graceful-fs version * Pin graceful-fs to fix readstream bug
1 parent 72e5f95 commit 47c54d9

File tree

4 files changed

+38
-12403
lines changed

4 files changed

+38
-12403
lines changed

.github/workflows/main.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
strategy:
8+
matrix:
9+
platform: [ubuntu-latest]
10+
node: [ '10', '12' ]
11+
name: Node ${{ matrix.node }} (${{ matrix.platform }})
12+
runs-on: ${{ matrix.platform }}
13+
steps:
14+
- uses: actions/checkout@v1
15+
- uses: actions/setup-node@v1
16+
with:
17+
node-version: ${{ matrix.node }}
18+
- name: install dependencies
19+
run: npm i
20+
- name: run tests
21+
run: npm test
22+
test_latest:
23+
runs-on: ubuntu-latest
24+
container: node:latest
25+
name: Node latest (ubuntu-latest)
26+
steps:
27+
- uses: actions/checkout@v1
28+
- name: install dependencies
29+
run: npm i
30+
- name: run tests
31+
run: npm test

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
language: node_js
22
node_js:
33
- "node"
4-
- "8"
4+
- "12"
5+
- "10"
6+
install: npm i

0 commit comments

Comments
 (0)