Skip to content

Commit

Permalink
backport change from ethers v6 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidarain1 committed Nov 29, 2024
1 parent 3654777 commit 31bb9d1
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: PR
on:
pull_request:
branches:
- main
- '**'
merge_group:
branches:
- main
Expand Down Expand Up @@ -80,8 +80,12 @@ jobs:
- name: Setup playwright
uses: ./.github/actions/setup-playwright

- name: Prepare widgets bundle for @examples/commerce-widget-nextjs
run: pnpm --filter @imtbl/checkout-widgets prepare:examplewidgets
# Temporary disabled until we can release v2, since the tests are failing due to breaking changes
# - name: Prepare Checkout SDK bundle for @examples/commerce-widget-nextjs
# run: pnpm --filter @imtbl/checkout-sdk prepare:examplesdk

# - name: Prepare widgets bundle for @examples/commerce-widget-nextjs
# run: pnpm --filter @imtbl/checkout-widgets prepare:examplewidgets

- name: Test examples
run: pnpm test:examples
Expand Down Expand Up @@ -134,14 +138,18 @@ jobs:
- name: Prepare tests
run: pnpm prepare:tests

- name: Install SDK at current version for @tests/checkout-widgets-nextjs
run: pnpm --filter @tests/checkout-widgets-nextjs add @imtbl/sdk@$(npm view @imtbl/sdk version)
# Temporary disabled until we can release v2, since the tests are failing due to breaking changes
# - name: Install SDK at current version for @tests/checkout-widgets-nextjs
# run: pnpm --filter @tests/checkout-widgets-nextjs add @imtbl/sdk@$(npm view @imtbl/sdk version)

# - name: Build @tests/checkout-widgets-nextjs
# run: pnpm --filter @tests/checkout-widgets-nextjs build

- name: Build @tests/checkout-widgets-nextjs
run: pnpm --filter @tests/checkout-widgets-nextjs build
# - name: Prepare Checkout SDK bundle for @tests/checkout-widgets-nextjs
# run: pnpm --filter @imtbl/checkout-sdk prepare:testsdk

- name: Prepare widgets bundle for @tests/checkout-widgets-nextjs
run: pnpm --filter @imtbl/checkout-widgets prepare:testwidgets
# - name: Prepare widgets bundle for @tests/checkout-widgets-nextjs
# run: pnpm --filter @imtbl/checkout-widgets prepare:testwidgets

- name: Update modules
run: pnpm install --frozen-lockfile=false
Expand Down

0 comments on commit 31bb9d1

Please sign in to comment.