Skip to content

Merge pull request #85 from ovhemert/snyk-upgrade-882047454878bbc9167… #159

Merge pull request #85 from ovhemert/snyk-upgrade-882047454878bbc9167…

Merge pull request #85 from ovhemert/snyk-upgrade-882047454878bbc9167… #159

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Restore cached dependencies
uses: actions/cache@v1
with:
path: node_modules
key: node-modules-${{ hashFiles('package.json') }}
- name: Install dependencies
run: npm install
- name: Run Tests
run: npm test
- name: Coveralls Parallel
uses: coverallsapp/github-action@v1.1.2
with:
flag-name: run-${{ matrix.os }}-${{ matrix.node-version }}
github-token: ${{ secrets.github_token }}
parallel: true
finish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true