Skip to content

chore(deps-dev): bump @types/jest from 29.5.12 to 29.5.13 (#334) #702

chore(deps-dev): bump @types/jest from 29.5.12 to 29.5.13 (#334)

chore(deps-dev): bump @types/jest from 29.5.12 to 29.5.13 (#334) #702

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches: [master]
jobs:
lint:
name: Run linter
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run linter for scripts
run: pnpm xo
check-ts:
name: Run typescript checks
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run typescript checks
run: pnpm check:ts
test:
name: Run tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run tests
run: pnpm test -- --runInBand --ci --reporters=default --reporters=github-actions
- name: Upload code coverage to codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}