Bumped GHA Runners to larger machines

- this switches the testing CI over to larger 16 core machines we now
  have access to
This commit is contained in:
Daniel Lockyer 2022-11-29 18:18:22 +07:00 committed by Daniel Lockyer
parent 581f0b34b4
commit 921e9f4069

View File

@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest-16-cores
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
name: Lint
steps:
@ -36,7 +36,7 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
admin-tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest-16-cores
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
strategy:
matrix:
@ -75,7 +75,7 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
migrations:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest-16-cores
defaults:
run:
working-directory: ghost/core
@ -139,7 +139,7 @@ jobs:
- run: yarn knex-migrator migrate --force
unit-tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest-16-cores
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
strategy:
matrix:
@ -171,7 +171,7 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
database-tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest-16-cores
defaults:
run:
working-directory: ghost/core
@ -279,7 +279,7 @@ jobs:
ghost-cli:
name: Ghost-CLI
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
runs-on: ubuntu-22.04
runs-on: ubuntu-latest-16-cores
steps:
- uses: actions/checkout@v3
with:
@ -338,7 +338,7 @@ jobs:
coverage:
name: Coverage
needs: [unit-tests, admin-tests]
runs-on: ubuntu-latest
runs-on: ubuntu-latest-16-cores
steps:
- uses: actions/checkout@v2
- name: Restore coverage