From e29ef9256427ec5a6c030eb8371a148daa1c783a Mon Sep 17 00:00:00 2001
From: Marcus Schiesser <mail@marcusschiesser.de>
Date: Thu, 25 Apr 2024 11:41:09 +0800
Subject: [PATCH] ci: fix pnpm

---
 .github/workflows/e2e.yml                  | 4 ++--
 .github/workflows/lint_on_push_or_pull.yml | 4 ++--
 .github/workflows/publish_github.yml       | 4 ++--
 .github/workflows/release.yml              | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index fef03c69..8ea8530f 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -35,14 +35,14 @@ jobs:
         with:
           version: ${{ env.POETRY_VERSION }}
 
+      - uses: pnpm/action-setup@v3
+
       - name: Setup Node.js ${{ matrix.node-version }}
         uses: actions/setup-node@v4
         with:
           node-version: ${{ matrix.node-version }}
           cache: "pnpm"
 
-      - uses: pnpm/action-setup@v3
-
       - name: Install dependencies
         run: pnpm install
 
diff --git a/.github/workflows/lint_on_push_or_pull.yml b/.github/workflows/lint_on_push_or_pull.yml
index 03088bbd..488f96d6 100644
--- a/.github/workflows/lint_on_push_or_pull.yml
+++ b/.github/workflows/lint_on_push_or_pull.yml
@@ -14,14 +14,14 @@ jobs:
     steps:
       - uses: actions/checkout@v4
 
+      - uses: pnpm/action-setup@v3
+
       - name: Setup Node.js
         uses: actions/setup-node@v4
         with:
           node-version-file: ".nvmrc"
           cache: "pnpm"
 
-      - uses: pnpm/action-setup@v3
-
       - name: Install dependencies
         run: pnpm install
 
diff --git a/.github/workflows/publish_github.yml b/.github/workflows/publish_github.yml
index 313c77b8..247a243d 100644
--- a/.github/workflows/publish_github.yml
+++ b/.github/workflows/publish_github.yml
@@ -12,14 +12,14 @@ jobs:
       - name: Checkout Repo
         uses: actions/checkout@v4
 
+      - uses: pnpm/action-setup@v3
+
       - name: Setup Node.js
         uses: actions/setup-node@v4
         with:
           node-version-file: ".nvmrc"
           cache: "pnpm"
 
-      - uses: pnpm/action-setup@v3
-
       - name: Install dependencies
         run: pnpm install
 
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 91eb94e5..5f9cce43 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -15,14 +15,14 @@ jobs:
       - name: Checkout Repo
         uses: actions/checkout@v4
 
+      - uses: pnpm/action-setup@v3
+
       - name: Setup Node.js
         uses: actions/setup-node@v4
         with:
           node-version-file: ".nvmrc"
           cache: "pnpm"
 
-      - uses: pnpm/action-setup@v3
-
       - name: Install dependencies
         run: pnpm install
 
-- 
GitLab