feat(user): add getUserFriendsRequests function to retrieve friends requests #37
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: CI | |
| on: [pull_request] | |
| jobs: | |
| node-setup: | |
| runs-on: ubuntu-latest | |
| name: Node.js Setup | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Use Node 20 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| node-checks: | |
| needs: [node-setup] | |
| runs-on: ubuntu-latest | |
| name: Node.js Checks | |
| strategy: | |
| matrix: | |
| check: ["format:check", "lint", "test", "build"] | |
| include: | |
| - check: lint | |
| command: pnpm lint | |
| - check: test | |
| command: pnpm test --ci --coverage --maxWorkers=2 | |
| - check: build | |
| command: pnpm build | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Use Node 20 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile --prefer-offline | |
| - name: Run ${{ matrix.check }} | |
| run: ${{ matrix.command }} | |
| env: ${{ matrix.env || fromJSON('{}') }} |