diff --git a/.github/actions/anchor/action.yml b/.github/actions/anchor/action.yml index 5625bd6d2..e79bd174c 100644 --- a/.github/actions/anchor/action.yml +++ b/.github/actions/anchor/action.yml @@ -37,12 +37,9 @@ runs: rustup component add rustfmt clippy shell: bash - name: Setup node - run: | - source $HOME/.nvm/nvm.sh - nvm install ${{ inputs.node-version }} - nvm use ${{ inputs.node-version }} - nvm alias default ${{ inputs.node-version }} - shell: bash + uses: actions/setup-node@v4 + with: + node-version: ${{ inputs.node-version }} - name: Install Solana CLI run: | wget -qO- "https://release.anza.xyz/${{ inputs.solana-version }}/solana-release-x86_64-unknown-linux-gnu.tar.bz2" | tar -xvj