Skip to content

0.13.6

0.13.6 #52

Workflow file for this run

name: Test and coverage
on:
push:
branches:
- main
pull_request: { }
workflow_dispatch: { }
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Run yarn install
uses: borales/actions-yarn@v4
with:
cmd: install # will run `yarn install` command
- name: Run tests and collect coverage
uses: borales/actions-yarn@v4
with:
cmd: coverage # will run `yarn coverage` command
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}