Skip to content

Fix: update README.md #57

Fix: update README.md

Fix: update README.md #57

Workflow file for this run

name: Unit Test
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
name: Node ${{ matrix.node }}
strategy:
matrix:
node: [14,16,18]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Run tests
run: npm run cover
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ${{matrix.os}}-node-${{ matrix.node }}
parallel: true
finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true