From c408987689b60404111ebf0b793bdc40e7d2b5f8 Mon Sep 17 00:00:00 2001
From: Axel Pettersson <axel@pettersson.cc>
Date: Sun, 2 Jun 2024 23:25:53 +0200
Subject: [PATCH] chore: Update pnpm command in workflow file

---
 .github/workflows/update-standpoints.yml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/update-standpoints.yml b/.github/workflows/update-standpoints.yml
index abec846cf..c06fd3ee7 100644
--- a/.github/workflows/update-standpoints.yml
+++ b/.github/workflows/update-standpoints.yml
@@ -27,13 +27,11 @@ jobs:
           cache: pnpm
 
       - name: Install dependencies
-        working-directory: packages/party-data
-        run: pnpm install --frozen-lockfile
+        run: pnpm --filter="@partiguiden/scrapers" install --frozen-lockfile
 
       - name: Run scrapers
-        working-directory: packages/party-data
         # TODO: Enable all parties
-        run: pnpm scrape --party M
+        run: pnpm --filter="@partiguiden/scrapers" run scrape --party M
 
       - name: Run action to potentially create PR
         uses: ./actions/update-standpoints