Skip to content

Migrate to typescript + Bump minimatch + Add ESM support #22

Migrate to typescript + Bump minimatch + Add ESM support

Migrate to typescript + Bump minimatch + Add ESM support #22

Workflow file for this run

name: Unit-tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
node-version: [ 16.x, 18.x, 20.x, 21.x ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
- run: npm ci
- run: npm test
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}