Skip to content

Commit

Permalink
update the actions used in test-sui workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
apolikamixitos committed Sep 25, 2024
1 parent 1827193 commit be3d1c1
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 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/setup-node@main
with:
node-version: '18'
cache: 'npm'

- name: Install dependencies
run: npm ci
nodejs-version: '18' # Hardcoded to ensure consistency.

- name: Get SUI Version
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 }}

- name: Setup Sui Wallet
shell: bash
Expand Down

0 comments on commit be3d1c1

Please sign in to comment.