Skip to content

Commit

Permalink
wrap up ci speedup (#356)
Browse files Browse the repository at this point in the history
* final speedup

* alphabetize

* rebalance

* fix bug in cache

* revert
  • Loading branch information
shamilovtim authored Jan 10, 2024
1 parent b1b9b7d commit 77c756d
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/tests-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,11 @@ jobs:
matrix:
include:
- group: "A"
packages: "--workspace packages/agent --workspace packages/dids"
packages: "--workspace packages/agent"
- group: "B"
packages: "--workspace packages/common --workspace packages/crypto --workspace packages/credentials --workspace packages/user-agent --workspace packages/proxy-agent --workspace packages/api --workspace packages/identity-agent"
packages: "--workspace packages/crypto --workspace packages/dids --workspace packages/proxy-agent --workspace packages/identity-agent --workspace packages/user-agent"
- group: "C"
packages: "--workspace packages/api --workspace packages/common --workspace packages/credentials"
steps:
- name: Checkout source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
Expand All @@ -131,7 +133,7 @@ jobs:
- name: Restore Cached Playwright Browsers
id: cache-playwright-restore
uses: actions/cache/restore@84995e0d91a927aa8da027221d329f84446b8c9b #v3.3.2
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2
with:
path: ~/Library/Caches/ms-playwright
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
Expand All @@ -140,14 +142,6 @@ jobs:
if: steps.cache-playwright-restore.outputs.cache-hit != 'true'
run: npx playwright install --with-deps

- name: Save Playwright Cache (if no cache)
uses: actions/cache/save@e08330827dd5663b268018076572bea59a734b60 #v3.3.2
id: cache-playwright-save
if: steps.cache-playwright-restore.outputs.cache-hit != 'true'
with:
path: ~/Library/Caches/ms-playwright
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}

- name: Build esm
run: npm run build:esm --ws

Expand Down

0 comments on commit 77c756d

Please sign in to comment.