Skip to content

feat: add test helper #31

feat: add test helper

feat: add test helper #31

Workflow file for this run

name: '☔️'
on:
push:
branches:
- 'main'
pull_request:
workflow_dispatch:
jobs:
coverage:
runs-on: ubuntu-latest
name: Coverage
steps:
- name: ➕ Actions - Checkout
uses: actions/checkout@v4
- name: ➕ Actions - Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: ➕ Cache dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- name: 📦 Installing Dependencies
run: npm ci
- name: 🧪 Checking for Coverage
run: npm run test:ci:c8
- name: ☔️ Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: wellwelwel/poku