From 885a5f8d997babf617201a025c70b66f2763d7ab Mon Sep 17 00:00:00 2001
From: Bart van der Braak <bartvdbraak@gmail.com>
Date: Tue, 13 Jun 2023 22:14:36 +0200
Subject: [PATCH] refactor: Rewrite docs and workflows to use `pnpm`

---
 .github/workflows/lighthouse-report.yaml |  4 ++--
 .github/workflows/lint-deps-check.yaml   |  2 +-
 README.md                                | 10 +++++-----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/lighthouse-report.yaml b/.github/workflows/lighthouse-report.yaml
index 78bf4a8..fffce69 100644
--- a/.github/workflows/lighthouse-report.yaml
+++ b/.github/workflows/lighthouse-report.yaml
@@ -40,7 +40,7 @@ jobs:
           node-version: 18
 
       - name: Install Dependencies
-        run: yarn global add @unlighthouse/cli puppeteer
+        run: pnpm add -g @unlighthouse/cli puppeteer
 
       - name: Retrieve Vercel Preview URL
         uses: zentered/vercel-preview-url@v1.1.9
@@ -56,7 +56,7 @@ jobs:
           VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
         with:
           deployment-url: ${{ steps.vercel_preview_url.outputs.preview_url }}
-          timeout: 60
+          timeout: 120
 
       - name: Build Unlighthouse report
         run: |
diff --git a/.github/workflows/lint-deps-check.yaml b/.github/workflows/lint-deps-check.yaml
index 20b5343..6ef5183 100644
--- a/.github/workflows/lint-deps-check.yaml
+++ b/.github/workflows/lint-deps-check.yaml
@@ -27,7 +27,7 @@ jobs:
           node-version: 18
 
       - name: Install Node.js dependencies
-        run: yarn install --frozen-lockfile
+        run: pnpm install --frozen-lockfile
 
       - name: Run linters
         uses: wearerequired/lint-action@v2.3.0
diff --git a/README.md b/README.md
index 1fa5257..813ee8b 100644
--- a/README.md
+++ b/README.md
@@ -17,15 +17,15 @@
 
 To install the project and its dependencies, follow these steps:
 
-1.  Ensure you have `yarn` installed on your system. If not, you can install it by running:
+1.  Ensure you have `pnpm` installed on your system. If not, you can install it by running:
 
     ```sh-session
-    npm install -g yarn
+    npm install -g pnpm
     ```
 
 2.  Run the following command to install the project dependencies:
     ```sh-session
-    yarn install
+    pnpm install
     ```
 
 ### Environment Variables
@@ -43,7 +43,7 @@ After setting up the required services, you need to set the corresponding enviro
 To build the project, execute the following command:
 
 ```sh-session
-yarn build
+pnpm build
 ```
 
 ## Run
@@ -51,5 +51,5 @@ yarn build
 To run the project locally, use the following command:
 
 ```sh-session
-yarn dev
+pnpm turbo run dev
 ```