Skip to content

Merge pull request #8 from jessety/jse/2024 #22

Merge pull request #8 from jessety/jse/2024

Merge pull request #8 from jessety/jse/2024 #22

Workflow file for this run

name: coverage
on:
workflow_dispatch:
push:
branches:
- main
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
run: npm install
- name: Test
run: npm run test - --coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
directory: ./coverage/
# token: ${{ secrets.CODECOV_TOKEN }} # Necessary for closed-source projects