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

ci: update the actions used in test-sui workflows #391

Merged
merged 5 commits into from
Sep 27, 2024
Merged
Changes from 3 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
16 changes: 9 additions & 7 deletions .github/workflows/test-sui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,20 @@ jobs:
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
uses: axelarnetwork/axelar-cgp-sui/.github/actions/nodejs-ci@main
apolikamixitos marked this conversation as resolved.
Show resolved Hide resolved
with:
node-version: '18'
cache: 'npm'
nodejs-version: '18' # Hardcoded to ensure consistency.
apolikamixitos marked this conversation as resolved.
Show resolved Hide resolved

- name: Install dependencies
run: npm ci
- name: Get SUI Version
apolikamixitos marked this conversation as resolved.
Show resolved Hide resolved
shell: bash
run: |
SUI_VERSION=$(jq -r '.SUI_VERSION' "node_modules/@axelar-network/axelar-cgp-sui/version.json")
echo "SUI_VERSION=$SUI_VERSION" >> $GITHUB_ENV

- name: Setup Sui CLI
uses: axelarnetwork/axelar-cgp-sui/.github/actions/install-sui-cli@main
uses: axelarnetwork/axelar-cgp-sui/.github/actions/setup-sui@main
with:
sui-version: $(jq -r '.SUI_VERSION' node_modules/@axelar-network/axelar-cgp-sui/version.json)
sui-version: ${{ env.SUI_VERSION }}
apolikamixitos marked this conversation as resolved.
Show resolved Hide resolved

- name: Setup Sui Wallet
shell: bash
Expand Down
Loading