diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1773e8d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,33 @@ +name: Node CI + +on: + push: + branches: + - master + - greenkeeper/* + pull_request: + branches: + - master + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [8.x, 10.x, 12.x, 13.x] + os: [ubuntu-latest, windows-latest, macOS-latest] + + steps: + - uses: actions/checkout@v1 + - name: Run tests + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm install and test + run: | + node --version + npm --version + npm ci + npm test \ No newline at end of file