fix(tests): Downgrade all Ubuntu references

This commit is contained in:
Adam Gastineau 2025-01-08 07:41:32 -08:00
parent d6d5944797
commit d88a8ecd57
6 changed files with 18 additions and 18 deletions

View file

@ -12,7 +12,7 @@ jobs:
id-token: write # This is required for OIDC login (azure/login) to succeed id-token: write # This is required for OIDC login (azure/login) to succeed
contents: read # This is required for actions/checkout to succeed contents: read # This is required for actions/checkout to succeed
if: ${{ github.event.workflow_run.event == 'pull_request' }} if: ${{ github.event.workflow_run.event == 'pull_request' }}
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4

View file

@ -38,7 +38,7 @@ jobs:
run: npm audit --omit dev run: npm audit --omit dev
lint-snippets: lint-snippets:
name: "Lint snippets" name: "Lint snippets"
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4

View file

@ -23,12 +23,12 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-22.04, macos-latest, windows-latest]
node-version: [18] node-version: [18]
include: include:
- os: ubuntu-latest - os: ubuntu-22.04
node-version: 20 node-version: 20
- os: ubuntu-latest - os: ubuntu-22.04
node-version: 22 node-version: 22
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:

View file

@ -24,7 +24,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-22.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -140,7 +140,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-22.04, macos-latest, windows-latest]
permissions: permissions:
id-token: write # This is required for OIDC login (azure/login) to succeed id-token: write # This is required for OIDC login (azure/login) to succeed
contents: read # This is required for actions/checkout to succeed contents: read # This is required for actions/checkout to succeed

View file

@ -87,24 +87,24 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-22.04, windows-latest, macos-latest]
node-version: [18] node-version: [18]
shardIndex: [1, 2] shardIndex: [1, 2]
shardTotal: [2] shardTotal: [2]
include: include:
- os: ubuntu-latest - os: ubuntu-22.04
node-version: 20 node-version: 20
shardIndex: 1 shardIndex: 1
shardTotal: 2 shardTotal: 2
- os: ubuntu-latest - os: ubuntu-22.04
node-version: 20 node-version: 20
shardIndex: 2 shardIndex: 2
shardTotal: 2 shardTotal: 2
- os: ubuntu-latest - os: ubuntu-22.04
node-version: 22 node-version: 22
shardIndex: 1 shardIndex: 1
shardTotal: 2 shardTotal: 2
- os: ubuntu-latest - os: ubuntu-22.04
node-version: 22 node-version: 22
shardIndex: 2 shardIndex: 2
shardTotal: 2 shardTotal: 2
@ -127,7 +127,7 @@ jobs:
test_web_components: test_web_components:
name: Web Components name: Web Components
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
@ -162,7 +162,7 @@ jobs:
test_vscode_extension: test_vscode_extension:
name: VSCode Extension name: VSCode Extension
runs-on: ubuntu-latest runs-on: ubuntu-22.04
env: env:
PWTEST_BOT_NAME: "vscode-extension" PWTEST_BOT_NAME: "vscode-extension"
steps: steps:
@ -203,7 +203,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: os:
- ubuntu-latest - ubuntu-22.04
- macos-latest - macos-latest
- windows-latest - windows-latest
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}

View file

@ -98,9 +98,9 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- os: ubuntu-latest - os: ubuntu-22.04
node_version: 20 node_version: 20
- os: ubuntu-latest - os: ubuntu-22.04
node_version: 22 node_version: 22
timeout-minutes: 30 timeout-minutes: 30
steps: steps:
@ -295,7 +295,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
runs-on: [ubuntu-latest, windows-latest, macos-latest] runs-on: [ubuntu-22.04, windows-latest, macos-latest]
runs-on: ${{ matrix.runs-on }} runs-on: ${{ matrix.runs-on }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4