refactor retry handling, remove dead dependencies #26
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: GHActions CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: | |
| - ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [22.x] | |
| redis-version: [7.2.4] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - uses: pnpm/action-setup@v2 | |
| with: # keep in sync with package.json | |
| version: 10 | |
| - name: Setup Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'pnpm' | |
| - run: pnpm install | |
| - name: Check Typescript | |
| run: | | |
| pnpm typecheck | |
| - name: Check Prettier | |
| run: | | |
| pnpm prettier | |
| - name: Start Redis | |
| uses: supercharge/redis-github-action@1.8.0 | |
| with: | |
| redis-version: ${{ matrix.redis-version }} | |
| - name: Run Tests | |
| run: | | |
| npm i -g pnpm && pnpm lint && pnpm test:ci |