no longer test Ubuntu 20.04 due to GitHub Actions image deprecation #181
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: Bun Compatibility | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| bun: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| bun-version: [1.0.0, 1.x] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun ${{ matrix.bun-version }} | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: ${{ matrix.node-version }} | |
| - name: Install packages | |
| run: npm ci | |
| - name: Run tests | |
| run: npm run test:ci | |
| - name: Upload mysqlmsn directory | |
| if: ${{ failure() }} | |
| uses: actions/[email protected] | |
| with: | |
| name: bun-${{ matrix.bun-version }} | |
| path: /tmp/mysqlmsn | |
| compression-level: 9 |