Skip to content

implement

implement #12

Workflow file for this run

name: Build
on:
pull_request:
push:
branches: main
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
matrix:
node-version: [ 16, 18, latest ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run test:lcov
# - name: Coveralls
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# flag-name: run-${{ matrix.node-version }}
# parallel: true
# finish:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - name: Coveralls Finished
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# parallel-finished: true