Skip to content

feat: Introduce GitHub hooks and i18n types #3

feat: Introduce GitHub hooks and i18n types

feat: Introduce GitHub hooks and i18n types #3

Workflow file for this run

name: Run tests and upload coverage
on:
push
jobs:
test:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set up pnpm
uses: pnpm/action-setup@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
- name: Install dependencies with pnpm
run: pnpm install --frozen-lockfile
- name: Run tests with pnpm
run: pnpm test --coverage
- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: nitrokit/nitrokit-core