Skip to content

Commit

Permalink
ci: update the actions used in test-sui workflows (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
apolikamixitos authored Sep 27, 2024
1 parent d00f744 commit ace4b81
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/test-sui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,24 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '18' # Hardcoded to ensure consistency.
cache: 'npm'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
shell: bash
run: npm ci

- 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 ace4b81

Please sign in to comment.