Use 8-core runners for lint/mock-tests/benchmarks

This commit is contained in:
Jamie Kyle 2023-10-03 18:38:58 -07:00 committed by GitHub
parent 7d35216fda
commit 0d9d561b99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -12,7 +12,7 @@ on:
jobs: jobs:
linux: linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest-8-cores
if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' }} if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' }}
timeout-minutes: 30 timeout-minutes: 30

View file

@ -12,7 +12,7 @@ on:
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest-8-cores
timeout-minutes: 30 timeout-minutes: 30
steps: steps:
@ -189,7 +189,7 @@ jobs:
with: with:
node-version: '18.15.0' node-version: '18.15.0'
- run: npm install -g yarn@1.22.10 - run: npm install -g yarn@1.22.10
# Set things up so @nodert-win10-rs4 dependencies build properly # Set things up so @nodert-win10-rs4 dependencies build properly
- run: dir "$env:BUILD_LOCATION" - run: dir "$env:BUILD_LOCATION"
- run: dir "$env:SDK_LOCATION" - run: dir "$env:SDK_LOCATION"
@ -206,7 +206,7 @@ jobs:
if: steps.cache-desktop-modules.outputs.cache-hit != 'true' if: steps.cache-desktop-modules.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile run: yarn install --frozen-lockfile
env: env:
CHILD_CONCURRENCY: 1 CHILD_CONCURRENCY: 1
NPM_CONFIG_LOGLEVEL: verbose NPM_CONFIG_LOGLEVEL: verbose
- run: yarn generate - run: yarn generate
@ -246,7 +246,7 @@ jobs:
mock-tests: mock-tests:
needs: lint needs: lint
runs-on: ubuntu-latest runs-on: ubuntu-latest-8-cores
if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' }} if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' }}
timeout-minutes: 30 timeout-minutes: 30