diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 21a8c68fcf..f3f3d11459 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -11,14 +11,14 @@ on: jobs: benchmark: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: '*' + node-version: '22' cache: 'npm' check-latest: true diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index 1221aaa4c8..364b889cf2 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -12,7 +12,7 @@ defaults: jobs: fossa: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index e23983c9cc..638bf2a041 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -6,14 +6,14 @@ on: - releases/*/*/* jobs: prerelease: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: actions/setup-node@v4 with: - node-version: '*' + node-version: '22' check-latest: true registry-url: 'https://registry.npmjs.org' - name: Extract tag, version and package diff --git a/.github/workflows/stalebot.yml b/.github/workflows/stalebot.yml index 868fb1d840..9abdf847e5 100644 --- a/.github/workflows/stalebot.yml +++ b/.github/workflows/stalebot.yml @@ -5,7 +5,7 @@ on: jobs: stale: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/stale@v6.0.1 with: diff --git a/.github/workflows/typescript-nudge.yml b/.github/workflows/typescript-nudge.yml index bb1c0b0b5b..36fb1d7a55 100644 --- a/.github/workflows/typescript-nudge.yml +++ b/.github/workflows/typescript-nudge.yml @@ -10,7 +10,7 @@ on: name: TypeScript conversion nudge jobs: Nudge-to-convert-to-TypeScript-if-JavaScript-found: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 4c60515f1b..d99a187e7c 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -8,7 +8,7 @@ on: merge_group: jobs: e2e: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 60 steps: # Sets an output parameter if this is a release PR @@ -27,7 +27,7 @@ jobs: if: ${{ !steps.release-check.outputs.IS_RELEASE }} - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 if: ${{ !steps.release-check.outputs.IS_RELEASE }} - name: Install dependencies run: npm ci @@ -49,12 +49,13 @@ jobs: timeout-minutes: 30 strategy: matrix: - os: [ubuntu-latest, macOS-latest, windows-latest] - node-version: ['*'] + os: [ubuntu-24.04, macos-14, windows-2022] + node-version: ['22'] # Must include the minimum deno version from the `DENO_VERSION_RANGE` constant in `node/bridge.ts`. deno-version: ['v1.39.0', 'v1.46.3'] include: - - os: ubuntu-latest + - os: ubuntu-24.04 + # Earliest supported version node-version: '14.16.0' deno-version: 'v1.46.3' fail-fast: false @@ -63,7 +64,7 @@ jobs: # https://github.com/actions/virtual-environments/issues/268 - name: Increase open file limit run: sudo ulimit -Sn 65536 - if: "${{ matrix.os == 'macOS-latest' }}" + if: "${{ matrix.os == 'macos-14' }}" - run: git config --global core.symlinks true # Sets an output parameter if this is a release PR - name: Check for release @@ -121,30 +122,30 @@ jobs: timeout-minutes: 30 strategy: matrix: - os: [ubuntu-latest, macOS-latest, windows-latest] - node-version: ['*'] + os: [ubuntu-24.04, macos-14, windows-2022] + node-version: ['22'] install-command: ['npm ci'] machine: ['0', '1', '2', '3', '4'] include: # We test on the oldest supported Node.js version, but only with a # single combination (Ubuntu) - - os: ubuntu-latest + - os: ubuntu-24.04 node-version: '14.16.0' install-command: npm ci machine: '0' - - os: ubuntu-latest + - os: ubuntu-24.04 node-version: '14.16.0' install-command: npm ci machine: '1' - - os: ubuntu-latest + - os: ubuntu-24.04 node-version: '14.16.0' install-command: npm ci machine: '2' - - os: ubuntu-latest + - os: ubuntu-24.04 node-version: '14.16.0' install-command: npm ci machine: '3' - - os: ubuntu-latest + - os: ubuntu-24.04 node-version: '14.16.0' install-command: npm ci machine: '4'