Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(test): add github step to run e2e tests against the ar.io/sdk #30

Merged
merged 1 commit into from
Jul 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading