Make upload-slice sending resilient to WebSocket reconnects #239
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: CI | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Determine Bun version | |
| id: bun-version | |
| run: echo "BUN_VERSION=$(jq -r '.engines.bun' package.json)" >> $GITHUB_OUTPUT | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: ${{ steps.bun-version.outputs.BUN_VERSION }} | |
| - run: bun install --frozen-lockfile | |
| - run: bun test | |
| env: | |
| TOKEN_ENCRYPTION_KEY: AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQE | |
| typecheck: | |
| name: Typecheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Determine Bun version | |
| id: bun-version | |
| run: echo "BUN_VERSION=$(jq -r '.engines.bun' package.json)" >> $GITHUB_OUTPUT | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: ${{ steps.bun-version.outputs.BUN_VERSION }} | |
| - run: bun install --frozen-lockfile | |
| - run: bun typecheck | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Determine Bun version | |
| id: bun-version | |
| run: echo "BUN_VERSION=$(jq -r '.engines.bun' package.json)" >> $GITHUB_OUTPUT | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: ${{ steps.bun-version.outputs.BUN_VERSION }} | |
| - run: bun install --frozen-lockfile | |
| - run: bun lint |