From 68123623ea97b094f9b35fb2e69d61dee356c25b Mon Sep 17 00:00:00 2001 From: ThrRip Date: Wed, 8 Nov 2023 12:14:24 +0800 Subject: [PATCH] Partially revert `7ecc006c` to fix CI/CD ... as pnpm needs to be set up before setting up Node.js for dependency caching to work --- .github/workflows/build-deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index de2f397..77e35f9 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -37,6 +37,10 @@ jobs: path: mzg.fan-assets - name: Copy the assets out run: cp -r mzg.fan-assets/* . + - name: Setup pnpm + uses: pnpm/action-setup@v2 + with: + version: 8 - name: Setup Node.js uses: actions/setup-node@v3 with: @@ -44,10 +48,6 @@ jobs: check-latest: true cache: pnpm cache-dependency-path: pnpm-lock.yaml - - name: Setup pnpm - uses: pnpm/action-setup@v2 - with: - version: 8 - name: Setup utilities run: | sudo apt-get update