fix: Websocket propper error when the payload size is too big #587
This file contains 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: Pull request checks | |
on: [pull_request] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node-version: ["18", "20"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- run: | | |
npm ci | |
npm run test:lint | |
unit-tests: | |
name: Unit Tests | |
runs-on: ubuntu-20.04 | |
needs: [lint] | |
strategy: | |
matrix: | |
node-version: ["18", "20"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- uses: ./.github/actions/unit-tests | |
functional-tests: | |
name: Functional Tests | |
runs-on: ubuntu-20.04 | |
needs: [unit-tests] | |
strategy: | |
matrix: | |
node-version: ["18", "20"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- uses: ./.github/actions/functional-tests | |
with: | |
CYPRESS_RECORD_KEY_DOC: ${{ secrets.CYPRESS_RECORD_KEY_DOC }} | |
documentation-snippet-tests: | |
name: Documentation Snippet Tests | |
needs: [unit-tests] | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: 'npm' | |
- uses: ./.github/actions/snippet-tests | |
with: | |
CYPRESS_RECORD_KEY_DOC: ${{ secrets.CYPRESS_RECORD_KEY_DOC }} |