chore(deps-dev): bump knip from 5.83.1 to 6.0.1 #338
This file contains hidden or 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: Test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| merge_group: | |
| types: | |
| - checks_requested | |
| jobs: | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version-file: ".nvmrc" | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install --ignore-scripts | |
| - name: Run build | |
| run: pnpm run build:all | |
| - name: Run tests | |
| run: | | |
| cp .env.example .env | |
| source .env | |
| pnpm run test:unit | |
| - name: Check formatting | |
| run: pnpm run prettier | |
| e2e-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version-file: ".nvmrc" | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install --ignore-scripts | |
| - name: Set up environment | |
| run: | | |
| cp .env.example .env | |
| - name: Start Docker services | |
| run: docker compose up -d --wait | |
| - name: Run E2E tests | |
| run: pnpm run test:e2e |