Skip to content

Commit

Permalink
chore(test): add github step to run e2e tests against the ar.io/sdk (#30
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dtfiedler authored Jul 31, 2024
2 parents 796dee5 + 518a885 commit 8863628
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,24 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}

sdk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version-file: '.nvmrc'
cache: 'yarn'

# chekcout the ar-io-sdk repo alpha branch
- run: git clone -b alpha https://github.com/ar-io/ar-io-sdk.git
# install the sdk
- run: yarn install --ignore-engines
working-directory: ./ar-io-sdk
# run the e2e tests for the sdk
- run: yarn test:e2e
working-directory: ./ar-io-sdk

deploy:
runs-on: ubuntu-latest
needs: [integration, test]
Expand Down

0 comments on commit 8863628

Please sign in to comment.