feat: Disable requests measuring time by default #37
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: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Set node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install | |
- name: Prepare is needed, because it generate types | |
run: pnpm dev:prepare | |
- name: Lint | |
run: pnpm lint | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Set node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install | |
- name: Prepare is needed, because it generate types | |
run: pnpm dev:prepare | |
- name: Typecheck | |
run: pnpm typecheck | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Set node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
cache: pnpm | |
- name: Install dependencies | |
run: | | |
pnpm install | |
pnpm exec playwright-core install | |
- name: Prepare is needed, because it generate types | |
run: pnpm dev:prepare | |
- name: Run tests | |
run: pnpm vitest run | |
- name: Run type tests | |
run: pnpm vitest --typecheck.only --typecheck.ignoreSourceErrors |