-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(test): add github step to run e2e tests against the ar.io/sdk (#30
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|