Skip to content

Commit

Permalink
Try bulidjet (#474)
Browse files Browse the repository at this point in the history
Use BuildJet

With 16vcpu, which is almost 2x faster than 4vcpu, and 10% slower than 16vcpu
  • Loading branch information
AriaMinaei authored Jan 3, 2024
1 parent 42483a2 commit 38071f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/actions/yarn-nm-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ runs:
# This will skip the install step if the cache is hit.
- name: Restore node_modules
id: yarn-node-modules-cache
uses: actions/cache@v3
uses: buildjet/cache@v3
with:
path: |
**/node_modules
Expand All @@ -32,7 +32,7 @@ runs:
# Thanks to https://github.com/rafaelbiten for this step https://github.com/microsoft/playwright/issues/7249#issuecomment-1385567519
- name: Cache Playwright Browsers for Playwright's Version
id: cache-playwright-browsers
uses: actions/cache@v3
uses: buildjet/cache@v3
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('yarn.lock') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
Build:
runs-on: ubuntu-latest
runs-on: buildjet-8vcpu-ubuntu-2204

strategy:
matrix:
Expand All @@ -24,7 +24,7 @@ jobs:

- run: yarn cli build
Lint:
runs-on: ubuntu-latest
runs-on: buildjet-8vcpu-ubuntu-2204

strategy:
matrix:
Expand All @@ -43,7 +43,7 @@ jobs:
yarn lint:all --max-warnings 0
Test:
runs-on: ubuntu-latest
runs-on: buildjet-8vcpu-ubuntu-2204

strategy:
matrix:
Expand All @@ -63,7 +63,7 @@ jobs:
# skip this until the new API is ready
if: false
name: Visual regression tests
runs-on: ubuntu-latest
runs-on: buildjet-8vcpu-ubuntu-2204

strategy:
matrix:
Expand All @@ -83,7 +83,7 @@ jobs:
Compatibility-Tests:
# skip this until the new API is ready
if: false
runs-on: ubuntu-latest
runs-on: buildjet-8vcpu-ubuntu-2204

strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-insiders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
if:
${{ github.event.issue.pull_request && contains(github.event.comment.body,
'/release insiders') }}
runs-on: ubuntu-latest
runs-on: buildjet-8vcpu-ubuntu-2204

permissions:
issues: write
Expand Down

1 comment on commit 38071f8

@vercel
Copy link

@vercel vercel bot commented on 38071f8 Jan 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.