From 226277e1bd7d1032027b96b5df9ee5525debe1d6 Mon Sep 17 00:00:00 2001 From: LemonNeko Date: Wed, 2 Apr 2025 01:06:08 +0800 Subject: [PATCH] chore(ci): install pnpm before install nodejs --- .github/workflows/build-tamagotchi.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-tamagotchi.yml b/.github/workflows/build-tamagotchi.yml index 998788671..9ee41e6e8 100644 --- a/.github/workflows/build-tamagotchi.yml +++ b/.github/workflows/build-tamagotchi.yml @@ -39,6 +39,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + name: Install pnpm + with: + run_install: false + - name: Install Node.js 23.x uses: actions/setup-node@v4 with: @@ -48,11 +53,6 @@ jobs: registry-url: 'https://registry.npmjs.org' cache: pnpm - - uses: pnpm/action-setup@v4 - name: Install pnpm - with: - run_install: false - - name: Install Rust Stable uses: dtolnay/rust-toolchain@stable with: