Skip to content

chore: try to stop release running after PRs #79

chore: try to stop release running after PRs

chore: try to stop release running after PRs #79

Workflow file for this run

name: Unit tests
on: [push, pull_request, workflow_dispatch]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
node-version: [16, 18]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
- name: Test
run: yarn run test run --reporter verbose
coverage:
needs: 'test'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn install
- name: Generate coverage report
run: yarn run coverage
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3