feat: support for BullMQ driver with retry and failure handling #69
Workflow file for this run
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: Review Pull Request | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| check: | |
| name: Check PR | |
| runs-on: ubuntu-latest | |
| services: | |
| # https://github.community/t5/GitHub-Actions/github-actions-cannot-connect-to-mysql-service/td-p/30611# | |
| mysql: | |
| image: mysql:5.7 | |
| env: | |
| MYSQL_ROOT_PASSWORD: password | |
| MYSQL_DATABASE: h3ravel_test | |
| ports: | |
| - 3306 | |
| options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| registry-url: 'https://registry.npmjs.org/' | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: 10 | |
| - name: Install dependencies (skip postinstall) | |
| run: | | |
| pnpm install --ignore-scripts --frozen-lockfile | |
| - name: Build Packages | |
| run: | | |
| pnpm build | |
| NODE_ENV=production DIST_DIR=dist pnpm -r --filter './examples/*' build | |
| - name: Run musket postinstall | |
| run: | | |
| pnpm -r --filter './examples/*' postinstall | |
| - name: Run tests | |
| run: pnpm test |