mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
devops: add Node.js 22 bots (#30644)
This commit is contained in:
parent
979233e483
commit
c7e7a7ef56
11
.github/workflows/tests_primary.yml
vendored
11
.github/workflows/tests_primary.yml
vendored
@ -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
|
||||
|
||||
2
.github/workflows/tests_secondary.yml
vendored
2
.github/workflows/tests_secondary.yml
vendored
@ -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
|
||||
|
||||
@ -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 }) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user