Skip to content

Commit

Permalink
Use warp.build for JS SDK tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Sep 16, 2024
1 parent f9f893c commit 4b8c06d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/js-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ jobs:
test:
name: Test
# TODO: Investigate why fetch is failing for some of these tests on warp build runners
runs-on: ubuntu-latest
runs-on: warp-ubuntu-latest-x64-8x
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -95,8 +94,12 @@ jobs:
run: corepack enable
- name: Install dependencies
run: yarn
- run: ./dev/up
- run: |
- name: Start dev environment
run: ./dev/up
- name: Sleep for 5 seconds
run: sleep 5s
- name: Run node tests
run: |
cd packages/js-sdk
yarn test:node
env:
Expand All @@ -105,7 +108,8 @@ jobs:
DD_SERVICE: xmtp-js
DD_CIVISIBILITY_AGENTLESS_ENABLED: 'true'
DD_API_KEY: ${{ secrets.DD_API_KEY }}
- run: |
- name: Run browser tests
run: |
cd packages/js-sdk
yarn test:browser
Expand Down

0 comments on commit 4b8c06d

Please sign in to comment.