Skip to content

test: set up codecov #2

test: set up codecov

test: set up codecov #2

Workflow file for this run

name: Codecov workflow
on: [push, pull_request]
jobs:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
- run: npm run test:coverage
env:
STRATZ_TOKEN: ${{ secrets.STRATZ_TOKEN }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: ChocolateNao/stratz.js