Skip to content
Permalink
Browse files

Fix CI setup (#1046)

* Add missing NodeJS versions

* Add GitHub Actions setup

* Use latest graceful-fs version

* Pin graceful-fs to fix readstream bug
  • Loading branch information
DanielRuf authored and typicode committed Nov 15, 2019
1 parent 72e5f95 commit 47c54d96cf27c7ed24604342e5b6376ba43d0167
Showing with 38 additions and 12,403 deletions.
  1. +31 −0 .github/workflows/main.yaml
  2. +3 −1 .travis.yml
  3. +0 −12,402 package-lock.json
  4. +4 −0 package.json
@@ -0,0 +1,31 @@
name: CI

Check failure on line 1 in .github/workflows/main.yaml

GitHub Actions / Node 10 (ubuntu-latest)

.github/workflows/main.yaml#L1

Process completed with exit code 1.

Check failure on line 1 in .github/workflows/main.yaml

GitHub Actions / Node 12 (ubuntu-latest)

.github/workflows/main.yaml#L1

Process completed with exit code 1.

Check failure on line 1 in .github/workflows/main.yaml

GitHub Actions / Node latest (ubuntu-latest)

.github/workflows/main.yaml#L1

Process completed with exit code 1.

on: [push, pull_request]

jobs:
test:
strategy:
matrix:
platform: [ubuntu-latest]
node: [ '10', '12' ]
name: Node ${{ matrix.node }} (${{ matrix.platform }})
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: install dependencies
run: npm i
- name: run tests
run: npm test
test_latest:
runs-on: ubuntu-latest
container: node:latest
name: Node latest (ubuntu-latest)
steps:
- uses: actions/checkout@v1
- name: install dependencies
run: npm i
- name: run tests
run: npm test
@@ -1,4 +1,6 @@
language: node_js
node_js:
- "node"
- "8"
- "12"
- "10"
install: npm i

0 comments on commit 47c54d9

Please sign in to comment.
You can’t perform that action at this time.