From 0925894db8fc952ba072d38d8a4a0aee4d90284f Mon Sep 17 00:00:00 2001 From: Jun Jiang Date: Sun, 30 Jun 2024 02:23:09 +0800 Subject: [PATCH] attempt to fix GHA --- .github/actions/setup/action.yml | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 99b4095..aeebe67 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -1,33 +1,25 @@ name: Setup environment -inputs: - cache: - description: Enable caching - default: "true" - node: - description: The Node.js version to install - required: true - solana: - description: The Solana version to install - runs: using: "composite" steps: - - name: Setup pnpm - uses: pnpm/action-setup@v3 + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 9.4.0 + run_install: false - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: ${{ inputs.node }} + node-version: 20 cache: "pnpm" - name: Install dependencies run: pnpm install --frozen-lockfile shell: bash - name: Install Solana - if: ${{ inputs.solana != '' }} uses: metaplex-foundation/actions/install-solana@v1 with: - version: ${{ inputs.solana }} - cache: ${{ inputs.cache }} + version: 1.18.15 + cache: "true" - name: Install Protoc uses: arduino/setup-protoc@v3