fix(client): createClient doesn't copy all settings of client #4496
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
merge_group: | |
jobs: | |
typecheck: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- uses: pnpm/action-setup@v4.0.0 | |
- name: Use Node.js | |
uses: actions/setup-node@v4.0.3 | |
with: | |
node-version: 20 | |
check-latest: true | |
cache: "pnpm" | |
- run: pnpm install | |
- run: pnpm run build | |
- run: pnpm tsc --noEmit | |
lint: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- uses: pnpm/action-setup@v4.0.0 | |
- name: Use Node.js | |
uses: actions/setup-node@v4.0.3 | |
with: | |
node-version: 20 | |
check-latest: true | |
cache: "pnpm" | |
- run: pnpm install | |
- run: pnpm run build | |
- run: pnpm run lint | |
test: | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
test-environment: | |
- node | |
- jsdom | |
node: | |
- "18" | |
- "20" | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- uses: pnpm/action-setup@v4.0.0 | |
- name: Use Node.js | |
uses: actions/setup-node@v4.0.3 | |
with: | |
node-version: ${{ matrix.node }} | |
check-latest: true | |
cache: "pnpm" | |
- run: pnpm install | |
- run: pnpm run build | |
- run: pnpm run test:coverage --environment ${{ matrix.test-environment }} | |
- uses: codecov/codecov-action@v4.5.0 |