Fix .ping() to throw error after disconnect() and match ioredis defau… #2970
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: Update compat.md | |
| on: | |
| push: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| format: | |
| name: Should compat.md be updated? 🤔 | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'stipsan/ioredis-mock' | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: lts/* | |
| - run: npm ci --no-scripts | |
| - run: node scripts/update-compat && npx prettier --write compat.md | |
| - uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7 | |
| with: | |
| branch: actions/updatecompat | |
| commit-message: 'docs(compat.md): 🤖 ✨' | |
| labels: 🤖 bot | |
| title: 'docs(compat.md): 🤖 ✨' | |
| token: ${{ secrets.GITHUB_TOKEN }} |