Skip to content

Commit eaa6ce9

Browse files
Switch to runner with more CPU and RAM (#45)
## Motivation for the change, related issues We are currently having issues with some CI jobs be terminated prematurely. ## Implementation details This PR switches the CI workflow to use the `wordpress-playground-private` runner which has 16 cores and 64GB RAM. ## Testing Instructions (or ideally a Blueprint) - CI
1 parent aa72e45 commit eaa6ce9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
# take ~25s just to run git clone and restore node_modules.
1616
lint-and-typecheck:
1717
name: 'Lint and typecheck'
18-
runs-on: ubuntu-latest
18+
runs-on: wordpress-playground-private
1919
steps:
2020
- uses: actions/checkout@v4
2121
with:
@@ -25,7 +25,7 @@ jobs:
2525
- run: npx nx affected --target=typecheck
2626
lint-and-test-php:
2727
name: 'Lint and test PHP'
28-
runs-on: ubuntu-latest
28+
runs-on: wordpress-playground-private
2929
steps:
3030
- uses: actions/checkout@v4
3131
with:
@@ -49,7 +49,7 @@ jobs:
4949
- run: npx nx run playground-data-liberation:lint:php
5050
- run: npx nx run playground-data-liberation:test:phpunit
5151
test-unit-asyncify:
52-
runs-on: ubuntu-latest
52+
runs-on: wordpress-playground-private
5353
needs: [lint-and-typecheck]
5454
steps:
5555
- uses: actions/checkout@v4
@@ -75,7 +75,7 @@ jobs:
7575
# node-version: 23.0.0-nightly2024100909d10b50dc
7676
# - run: node --experimental-wasm-jspi --experimental-wasm-stack-switching --expose-gc node_modules/nx/bin/nx affected --target=test --configuration=ci
7777
test-e2e:
78-
runs-on: ubuntu-latest
78+
runs-on: wordpress-playground-private
7979
needs: [lint-and-typecheck]
8080
# Run as root to allow node to bind to port 80
8181
steps:
@@ -93,7 +93,7 @@ jobs:
9393
path: dist/cypress/packages/playground/website/screenshots
9494

9595
test-e2e-playwright-prepare:
96-
runs-on: ubuntu-latest
96+
runs-on: wordpress-playground-private
9797
needs: [lint-and-typecheck]
9898
steps:
9999
- uses: actions/checkout@v4
@@ -112,7 +112,7 @@ jobs:
112112
name: playwright-dist
113113
path: dist.zip
114114
test-e2e-playwright:
115-
runs-on: ubuntu-latest
115+
runs-on: wordpress-playground-private
116116
needs: [test-e2e-playwright-prepare]
117117
strategy:
118118
fail-fast: false
@@ -156,7 +156,7 @@ jobs:
156156
name: playwright-dist
157157

158158
build:
159-
runs-on: ubuntu-latest
159+
runs-on: wordpress-playground-private
160160
needs: [lint-and-typecheck]
161161
steps:
162162
- uses: actions/checkout@v4
@@ -187,7 +187,7 @@ jobs:
187187
url: ${{ steps.deployment.outputs.page_url }}
188188

189189
# Specify runner + deployment step
190-
runs-on: ubuntu-latest
190+
runs-on: wordpress-playground-private
191191
steps:
192192
- uses: actions/checkout@v4
193193
with:

0 commit comments

Comments
 (0)