Skip to content

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

Migrate to typescript + Bump minimatch + Add ESM support

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

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 run build
- 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 run build
- run: npm test
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}