devops: add Node.js 22 bots (#30644)

This commit is contained in:
Max Schmitt 2024-05-06 19:58:44 +00:00 committed by GitHub
parent 979233e483
commit c7e7a7ef56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 14 additions and 1 deletions

View File

@ -41,6 +41,9 @@ jobs:
- os: ubuntu-22.04
node-version: 20
browser: chromium
- os: ubuntu-22.04
node-version: 22
browser: chromium
runs-on: ${{ matrix.os }}
permissions:
id-token: write # This is required for OIDC login (azure/login) to succeed
@ -108,6 +111,14 @@ jobs:
node-version: 20
shardIndex: 2
shardTotal: 2
- os: ubuntu-latest
node-version: 22
shardIndex: 1
shardTotal: 2
- os: ubuntu-latest
node-version: 22
shardIndex: 2
shardTotal: 2
runs-on: ${{ matrix.os }}
permissions:
id-token: write # This is required for OIDC login (azure/login) to succeed

View File

@ -95,6 +95,8 @@ jobs:
node_version: 16
- os: ubuntu-latest
node_version: 20
- os: ubuntu-latest
node_version: 22
timeout-minutes: 30
steps:
- uses: actions/checkout@v4

View File

@ -829,7 +829,7 @@ it('should not hang on a brotli encoded Range request', async ({ context, server
headers: {
range: 'bytes=0-2',
},
})).rejects.toThrow(`failed to decompress 'br' encoding: Error: unexpected end of file`);
})).rejects.toThrow(/(failed to decompress 'br' encoding: Error: unexpected end of file|Parse Error: Data after \`Connection: close\`)/);
});
it('should dispose', async function({ context, server }) {