From 10f792b8bc44735308aef654b5e9c4fe57985883 Mon Sep 17 00:00:00 2001 From: Tunglies Date: Wed, 18 Jun 2025 18:57:05 +0800 Subject: [PATCH] fix: streamline pnpm installation steps in autobuild workflow (#3816) * fix: streamline pnpm installation steps in autobuild workflow * fix: format code for better readability in useCustomTheme and _layout components --- .github/workflows/autobuild.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index 6ce876ce7..806f37efe 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -191,17 +191,17 @@ jobs: sudo apt-get update sudo apt-get install -y libxslt1.1 libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf + - uses: pnpm/action-setup@v4 + name: Install pnpm + with: + run_install: false + - name: Install Node uses: actions/setup-node@v4 with: node-version: "22" cache: "pnpm" - - uses: pnpm/action-setup@v4 - name: Install pnpm - with: - run_install: false - - name: Pnpm install and check run: | pnpm i @@ -263,17 +263,17 @@ jobs: cache-all-crates: true save-if: ${{ github.ref == 'refs/heads/dev' }} + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + run_install: false + - name: Install Node uses: actions/setup-node@v4 with: node-version: "22" cache: "pnpm" - - name: Install pnpm - uses: pnpm/action-setup@v4 - with: - run_install: false - - name: Pnpm install and check run: | pnpm i @@ -393,17 +393,17 @@ jobs: cache-all-crates: true save-if: ${{ github.ref == 'refs/heads/dev' }} + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + run_install: false + - name: Install Node uses: actions/setup-node@v4 with: node-version: "22" cache: "pnpm" - - uses: pnpm/action-setup@v4 - name: Install pnpm - with: - run_install: false - - name: Pnpm install and check run: | pnpm i