Skip to content

chore(deps-dev): bump ts-jest from 29.4.0 to 29.4.6 #38

chore(deps-dev): bump ts-jest from 29.4.0 to 29.4.6

chore(deps-dev): bump ts-jest from 29.4.0 to 29.4.6 #38

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
lint-and-test:
name: Lint, Format & Test
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message || '', '[skip ci]') && !contains(github.event.pull_request.title || '', '[skip ci]') }}
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10.23.0
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run ESLint
run: pnpm run lint
- name: Check Prettier formatting
run: pnpm run format:check
- name: Run tests
run: pnpm run test
- name: Generate coverage report (Node.js 22 only)
if: matrix.node-version == '22.x'
run: pnpm run test:coverage
- name: Build project
run: pnpm run build
- name: Upload coverage to Codecov (Node.js 22 only)
if: matrix.node-version == '22.x'
uses: codecov/codecov-action@v5
with:
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
publish-check:
name: Publish Check
runs-on: ubuntu-latest
needs: lint-and-test
if: ${{ !contains(github.event.head_commit.message || '', '[skip ci]') && !contains(github.event.pull_request.title || '', '[skip ci]') }}
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10.23.0
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '22.x'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Check if package can be published
run: pnpm run prepublishOnly